relative_abundance: Compute taxa/OTU abundance relative to the total dataset

Description Usage Arguments Value See Also

View source: R/simple_stats.R

Description

Convenience function to divide taxa_sums output vector by the total number of sequences.

Usage

1

Arguments

physeq

otu_table-class, or phyloseq-class

Value

A numeric-class with length equal to the number of species in the table, name indicated the taxa ID, and value equal to the taxa/OTU relative abundance

See Also

taxa_sums on which this function is based. See ctrl_samples_stats for a usage example.


cpauvert/psadd documentation built on Nov. 22, 2020, 9:19 a.m.