Description Usage Arguments Details Value See Also Examples
View source: R/is_compositional.R
Test if phyloseq object is compositional.
1 | is_compositional(x, tolerance = 1e-06)
|
x |
|
tolerance |
Tolerance for detecting compositionality. |
This function tests that the sum of abundances within each sample is almost zero, within the tolerance of 1e-6 by default.
Logical TRUE/FALSE
transform
1 2 3 4 | data(dietswap)
a <- is_compositional(dietswap)
b <- is_compositional(transform(dietswap, "identity"))
c <- is_compositional(transform(dietswap, "compositional"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.