collapse_by_taxon: Collapses metannotate table to the given taxonomic rank

Description Usage Arguments Value

View source: R/collapse.R

Description

Collapses metannotate table to the given taxonomic rank

Usage

1
collapse_by_taxon(metannotate_data, taxon = "Family")

Arguments

metannotate_data

Tibble of metannotate data

taxon

Character vector (length 1) giving the taxon name to collapse to Can be: domain, phylum, class, order, family, genus, species (case insensitive)

Value

Tibble of metannotate data, collapsed with a 'hits' column


MetAnnotate/metannoviz documentation built on Aug. 2, 2020, 3:12 p.m.