rename.NA.taxa: rename NA taxonomic levels

View source: R/rename_NA_taxa.R

rename.NA.taxaR Documentation

rename NA taxonomic levels

Description

Rename taxonomic levels so that NAs don't all get lumped together (i.e. uses higher-level assignments in lower-level names to preserve lineages).

Usage

rename.NA.taxa(ps)

Arguments

ps

a phyloseq object

See Also

tax_table, phyloseq

Examples

data(example_phyloseq)
new.ps <- rename.NA.taxa(example_phyloseq)
head(tax_table(new.ps))

kstagaman/phyloseqCompanion documentation built on Aug. 26, 2022, 5:07 a.m.