Description Usage Arguments Value See Also Examples
It generalize the sample_sums
function and enable the use of several summary functions.
1 | sample_stats(physeq, ...)
|
physeq |
|
... |
The function to be applied to the OTU table |
A numeric-class
with length equal to the number of samples
in the table. Names indicate sample ID, and values equal to the result of
the function applied through the passed expression (...
).
sample_sums
on which this function is based.
1 2 3 4 | require(phyloseq)
data(esophagus)
sample_stats(esophagus, mean)[1:6]
sample_stats(esophagus, var)[1:6]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.