Counts the reads for a specific taxonomy level.

taxa_count(ps, lev = "Genus", zeros = FALSE)

Arguments

ps

A phyloseq object.

lev

The taxonomy level at which to count. If NA uses the finest level available (individual sequences).

zeros

Whether to explicitly track zero counts.

Value

A mbquant data table containing the counts in "long" format.

Examples

NULL
#> NULL