Hi all,
I’m using Maaslin2 to analyze the output from Metaphlan3. Below is the relative abundance table of the species and metadata.
Species_relab.txt (95.9 KB)
Metadata.txt (637 Bytes)
Then in R,
relab ← read.table(“Species_relab.txt”, header = TRUE, quote = “”, sep = “\t”, row.names = 1, stringsAsFactors = FALSE)
metadata ← read.table(“Metadata.txt”, header=TRUE, sep=“\t”, row.names=1, stringsAsFactors=FALSE)
fit_data ← Maaslin2(
relab, metadata,‘output’, transform = “AST”,
fixed_effects = c(‘Treatment’),
normalization = ‘NONE’,
standardize = FALSE)
Output for all the features,
all_results.tsv (94.8 KB)
Taking Faecalibacterium prausnitzii as an example, the number of non-zero sample is only 6. However, if checking the input Species_relab.txt, the actual count of non-zero sample is 52.
metadata | feature | value | coef | stderr | N | N.not.0 | pval | qval |
---|---|---|---|---|---|---|---|---|
Treatment | Faecalibacterium_prausnitzii | B | -0.511171192 | 0.114657358 | 52 | 6 | 0.021009755 | 0.802131021 |
Treatment | Faecalibacterium_prausnitzii | C | -0.380650407 | 0.14503136 | 52 | 6 | 0.078688933 | 0.802131021 |
After checking all the 450 species, actually there are 126 discrepancies.
I would like to ask why there is a discrepancy in the count of non-zero sample between the actual input file and output file? Any ideas would be highly appreciated.
Thank you!
Claire