ps_tax_clean: Clean tax_table such that NAs are replaced with names of the...

View source: R/ps_tax_clean.R

ps_tax_cleanR Documentation

Clean tax_table such that NAs are replaced with names of the most specific known taxonomy prefixed with the rank.

Description

Example: An OTU is annotated as Proteobacteria in the Phylum rank, but NAs in the more specific ranks. All annotations below Phylum for this OTU will be replaced with Phylum_Proteobacteria.

Usage

ps_tax_clean(data)

Arguments

data

phyloseq or tax_table object.

Value

Similar to input, but with NAs replaced in the tax_table


Russel88/MicEco documentation built on Nov. 24, 2022, 2:33 a.m.