taxa.matrix: tax_table to matrix

View source: R/taxa_matrix.R

taxa.matrixR Documentation

tax_table to matrix

Description

Extract tax_table from a phyloseq object and turn it into a matrix

Usage

taxa.matrix(ps)

Arguments

ps

a phyloseq object

See Also

as.matrix, phyloseq, otu_table

Examples

data(example_phyloseq)
taxa.mat <- taxa.matrix(example_phyloseq)
taxa.mat

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