ZIdtmFit | R Documentation |
Fit the Zero-inflated Dirichlet-tree multinomial (ZIDTM) distribution.
ZIdtmFit(otu.tab, tree)
otu.tab |
a data frame or matrix containing the count data. Rows of the matrix represent observations and columns are the taxa. |
tree |
the phylogenetic tree (should be binary here). |
Returns a list, containing results of each subtree.
Zhou, C., Zhao, H., and Wang, T.: Transformation and differential abundance analysis of microbiome data incorporating phylogeny. Bioinformatics btab543, https://doi.org/10.1093/bioinformatics/btab543 (2021).
library(phyloseq) data("combo.phyloseq.obj") otu.tab <- t(otu_table(combo.phyloseq.obj)) tree <- phy_tree(combo.phyloseq.obj) fit <- ZIdtmFit(otu.tab, tree) Extract_logL(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.