pc_otu: Create a pc_otu class object

View source: R/pc_otu.R

pc_otuR Documentation

Create a pc_otu class object

Description

Create a pc_otu class object

Usage

pc_otu(otutab = data.frame(), metadata = data.frame(), taxonomy = NULL, ...)

Arguments

otutab

an otutab data.frame, samples are columns, taxs are rows.

metadata

a metadata data.frame, samples are rows

taxonomy

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

...

add

Value

pc_otu

Examples

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

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