transform_abundances | R Documentation |
otu_table
sample by sampleTransform the taxa abundances in otu_table
sample by sample, which means
the counts of each sample will be transformed individually.
transform_abundances(object, transform = c("identity", "log10", "log10p"))
object |
|
transform |
transformation to apply, the options inclulde:
|
A object matches the class of argument object
with the transformed
otu_table
.
abundances()
data(oxygen)
x1 <- transform_abundances(oxygen)
head(otu_table(x1), 10)
x2 <- transform_abundances(oxygen, "log10")
head(otu_table(x2), 10)
x3 <- transform_abundances(oxygen, "log10p")
head(otu_table(x3), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.