add_taxonomy_column: Add taxonomy label

Description Usage Arguments Details Value

View source: R/microbiome_helpers.R

Description

add a column to the taxonomy table of a phyloseq object that lists the lowest rank taxonomy assigned to that OTU along with a prefix indicating the taxonomic rank.

Usage

1
add_taxonomy_column(physeq, num_species = 2)

Arguments

physeq

a valid phyloseq object that contains a taxonomy table

num_species

the number of species to retain if more than one are identified

Details

Example: g:Pseudomonas

Value

a phyloseq object with an additional column on the taxonomy table called "Taxonomy"


mworkentine/mattsUtils documentation built on May 23, 2019, 11:58 a.m.