Comments (7)
Hey Xiao,
Can't see what causes these errors at the moment and can't reproduce them with my data. Could you please send me a reproducible example with either your data (can be anonymized, or only a subset) or any public data via email? Then I will have a closer look into the issue.
Thanks a lot,
Stefanie
from netcomi.
@stefpeschel I just sent you an email with the data. Let me know if you need more files. Thank you!
from netcomi.
@stefpeschel, I have the same problem with my data.
I'm calculating my permutations for all samples (ITS data) - it is ok, but when I subset the samples by sample type (bulk soil, rhizosphere, shoots and roots), I have this error only for bulk soil and rhizosphere (but only when I set the permuation number for 1000, when I was only running sample code with 3 permutations, everyting was fine). Here is the code:
`ps.rhizo<-subset_samples(ps, Type == "rhizosphere")
permutations <- 1000
flist <- filterfun(kOverA(5, 2e-05))
ent.logi <- filter_taxa(ps.rhizo, flist)
ent.trim <- filter_taxa(ps.rhizo, flist, TRUE)
identical(ent.trim, prune_taxa(ent.logi, ps.rhizo))
identical(sum(ent.logi), ntaxa(ent.trim))
ps.rhizo <- filter_taxa(ps.rhizo, flist, TRUE)
agglomerated <- tax_glom(ps.rhizo,"Species")
agglomerated_healthy = subset_samples(agglomerated, health == "healthy")
agglomerated_unhealthy = subset_samples(agglomerated, health == "unhealthy")
net <- netConstruct(data = agglomerated_healthy,
data2 = agglomerated_unhealthy,
filtTax = "highestVar",
filtTaxPar = list(highestVar = 50),
measure = "spring",
measurePar = list(nlambda=100,rep.num=10),
normMethod = "none",
zeroMethod = "none",
sparsMethod = "none",
dissFunc = "signed",
verbose = 3,
seed = 420)
analyzed <- netAnalyze(net,
centrLCC = TRUE,
avDissIgnoreInf = TRUE,
sPathNorm = FALSE,
clustMethod = "cluster_fast_greedy",
hubPar = c("degree", "between", "closeness"),
hubQuant = 0.9,
lnormFit = TRUE,
normDeg = FALSE,
normBetw = FALSE,
normClose = FALSE,
normEigen = FALSE,
weightDeg = FALSE)
compared <- netCompare(analyzed, permTest = TRUE, nPerm = permutations,
storeAssoPerm = TRUE,
fileStoreAssoPerm ="Asso_perm_comp",
storeCountsPerm = FALSE,
seed = 420)
`
All the best,
Dominika
from netcomi.
Thanks @lixiaopi1985 for sending me your data. I just uploaded a new version (only at 'develop' branch for now) that should fix this error. Could you please install the latest version from develop branch (version 1.0.2.9000) and let me know whether still any errors occur?
The 'develop' branch version can be installed via:
devtools::install_github("stefpeschel/NetCoMi", ref = "develop")
from netcomi.
@stefpeschel Thank you so much for fixing this error! I did not have any problems this time on the 16S data after updating the package. I am running it on the ITS data as it showed different error messages last time, I will share the result soon.
from netcomi.
Great! Please let me know if you're still running into errors for the ITS data.
Last time, the ITS error occured when computing the group differences for the centralities. I also adapted this approach, so I hope it runs without any problems now.
from netcomi.
@stefpeschel No issue running the ITS data this time, hooray!!!
Thank you so much!
from netcomi.
Related Issues (20)
- How to look at sub-clusters? HOT 1
- output format for Gephi visualization HOT 2
- Colored by phylum HOT 2
- stability values using spieceasi HOT 1
- Problems while installing the NetCoMi HOT 1
- How to find a "good" algorithm and parameter set HOT 1
- RNA-seq data(Plant) HOT 1
- Error in length of dimnames after permutation testing HOT 1
- Labelling only certain taxa of interest HOT 1
- Will this package works for all lineage levels?
- Cross domain interactions HOT 3
- calculate the betweenness centrality as hubs HOT 2
- Looking for guidance on MANs Inference with samples from different metagenomics/metatranscriptomics studies HOT 4
- Error in NetConstruct for network comparison : "subscript out of bounds" HOT 4
- edges dont color correctly with negative correlations HOT 2
- Could I manually modify the color of each node? HOT 2
- Problem with the targets IDs in export to gephi HOT 4
- including correlations with environmental or experimental variables? HOT 3
- Understanding netConstruct() output HOT 1
- Issue with node size and netCompare HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcomi.