otu_table-class) objects.
When the first
argument is a matrix, otu_table() will attempt to create and return an
otu_table-class object,
which further depends on whether or not taxa_are_rows is provided as an
additional argument.
Alternatively, if the first argument is an experiment-level (phyloseq-class)
object, then the corresponding otu_table is returned.otu_table(object, taxa_are_rows, errorIfNULL=TRUE)## S3 method for class 'phyloseq':
otu_table(object, errorIfNULL = TRUE)
## S3 method for class 'otu_table':
otu_table(object, errorIfNULL = TRUE)
## S3 method for class 'matrix':
otu_table(object, taxa_are_rows)
## S3 method for class 'data.frame':
otu_table(object, taxa_are_rows)
## S3 method for class 'ANY':
otu_table(object, errorIfNULL = TRUE)
otu_table-class,
or phyloseq-class.object is a matrix, in which case it is is required.NULL)? Default TRUE. Ignored
if object argument is a matrix (constructor invoked instead).otu_table-class object.phy_tree, sample_data, tax_table
phyloseq, merge_phyloseq#
# data(GlobalPatterns)
# otu_table(GlobalPatterns)Run the code above in your browser using DataLab