-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modularity analysis using Dormann and Strauss, 2014 method #16
Comments
Hi! I'm getting a similar error when running plotModuleWeb follwing the example code for computeModules() (https://rdrr.io/cran/bipartite/man/computeModules.html) and similar issues when using the script and data provided by Marini et al. 2019 (https://besjournals.onlinelibrary.wiley.com/action/downloadSupplement?doi=10.1111%2F1365-2664.13337&file=jpe13337-sup-0001-Supinfo.doc).
Session info
Many thanks for the support! |
Hm. So I think this issue is fixed with the 2.19 release. At least I cannot reproduce any of the errors, and it works "perfectly" with both the small1976 example and a larger memmott1999 data set (both in the default and the deep=T setting with method="DormannStrauss"). Please re-open issue if problem still exists! Reproducible example like that of rubenroos much appreciated! |
Hi!
I am conducting an ecological analysis of a metavirome using the computeModules function. I´ve been able to compute the modules and plot them, but I always get warning messages saying that the matrix length of the modules object and the original web are not same, and because of that I believe that not all nodes are displayed. I attach you my code and the warning messages:
I´ve used upToDepth = -1 with the idea of plotting all modules (If upToDepth is smaller
than fromDepth, all modules are plot)
Warning messages:
1: In dim(slot(moduleWebObject, "originalWeb")) == 0 || dim(slot(moduleWebObject, :
'length(x) = 2 > 1' in coercion to 'logical(1)'
2: In dim(slot(moduleWebObject, "originalWeb")) == 0 || dim(slot(moduleWebObject, :
'length(x) = 2 > 1' in coercion to 'logical(1)'
3: In dim(slot(moduleWebObject, "originalWeb")) == 0 || dim(slot(moduleWebObject, :
'length(x) = 2 > 1' in coercion to 'logical(1)'
Info about R session:
Is this related with the window size or with the length of the matrix? Many thanks in advance for your support,
Best
The text was updated successfully, but these errors were encountered: