| clr_trans | R Documentation |
The centered log-ratio transformation
clr_trans(eBay.comps)
eBay.comps |
the estimated microbial compositions by empirical Bayes. |
Returns the clr transfromation of microbial compositions.
library(phyloseq) otu_tab <- t(combo.phyloseq.obj@otu_table@.Data) tree <- phy_tree(combo.phyloseq.obj) eBay.comps <- eBay_comps(otu_tab,prior = "Dirichlet", tree=NULL) eBay.comps.clr <- clr_trans(eBay.comps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.