add_tax: Add taxonomy for a pc_otu object

View source: R/pc_otu.R

add_taxR Documentation

Add taxonomy for a pc_otu object

Description

Add taxonomy for a pc_otu object

Usage

add_tax(pc, taxonomy)

Arguments

pc

a pc_otu object

taxonomy

a taxomomy data.frame, look out the rownames of taxonomy and otutab should matched!

Value

pc_otu

Examples

data(otutab, package = "pcutils")
pc_tax1 <- pc_otu(otutab, metadata)
pc_tax1 <- add_tax(pc_tax1, taxonomy)

pctax documentation built on May 29, 2024, 10:03 a.m.