Calculate Total Abundance per Taxon
Usage
taxa_sums(object, na.rm = TRUE)
Arguments
- object
A microbiome_dataset object.
- na.rm
Should missing values be removed before summation?
Value
A numeric vector named by variable_id.
Examples
data("global_patterns", package = "microbiomedataset")
x <- taxa_sums(global_patterns)
head(x)
#> 549322 522457 951 244423 586076 246140
#> 259 8 1 51 3 4