alr_trans | R Documentation |
The additive log-ratio transformation
alr_trans(eBay.comps)
eBay.comps |
the estimated microbial compositions by empirical Bayes. |
Returns the alr 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.alr <- alr_trans(eBay.comps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.