dbig_genera: Disambiguate taxa

View source: R/prop_tax_down.R

dbig_generaR Documentation

Disambiguate taxa

Description

Check for any taxa that have the same name but are in different higher-level classifications, and append the family name

Usage

dbig_genera(physeq)

Arguments

physeq

A phyloseq object with a tax table. Tax table must have 'Genus' and 'Family' columns.

Details

dbig_genera takes a phyloseq object with a taxonomy table, disamibugates the genera by appending family names to any genus names that are found in multiple families in this data set, and returns the object with an update tax_table() object. The input phyloseq object must have 'Genus' and 'Family' columns in its tax_table object. The output object with have the disambiguated names in the 'Genus' column and will have a new column called 'AmbigGenus' where the old genus names can be found.

Value

A phyloseq object with an updated Genus column and a column called AmbigGenus containing the old Genus names.


JCSzamosi/aftersl1p documentation built on July 3, 2025, 8:37 p.m.