taxa_count: Counts the reads for a specific taxonomy level.

View source: R/mangling.R

taxa_countR Documentation

Counts the reads for a specific taxonomy level.

Description

Counts the reads for a specific taxonomy level.

Usage

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


Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.