microeco
microeco copied to clipboard
R Session Aborted R encountered a fatal error The session was terminated
Hi Chi
When I updated 'microeco' to V 1.6.0, I used the following code to plot the microbial network: t1 <- trans_network$new(dataset = group_PR, cor_method = NULL, taxa_level = "OTU", filter_thres = 0.001); t1$ cal_network(network_method = "SpiecEasi", SpiecEasi_method = "mb").
I encountered Rstudio crashing situation when I ran other code without any problem. Does this code conflict with R?
Maker
Hi Maker. Could you please attach your data group_PR
so that I can use my PC to reproduce it? To save the data, please follow the steps in the tutorial (https://chiliubio.github.io/microeco_tutorial/notes.html#save-function) and attach the compressed object.Message ID: @.***>
dataset.zip Thanks, this is my data. I also ran into the following problem: t1$get_node_table(node_roles = TRUE) The nodes (364) with NaN in z will be filtered ... Error in private$assign_module_roles(zp) : No valid result obtained for this network!
Hi. Yes. I tested the steps using both windows and linux server and different microeco versions. All the sessions crashed. I am still not sure why it happened.
If no available z value is found, please use node_roles = FALSE
in get_node_table function.
This is the case, but the good news is: I used "SpiecEasi" to build the co-occurrence network for other data without any errors. It seems that this data has a special structure. Maybe I should check the amplicon process. Anyway, thank you for your help!