Description Usage Arguments Value See Also Examples
View source: R/phyloseq-class.R
phyloseq()
is a constructor method, This is the main method
suggested for constructing an experiment-level (phyloseq-class
)
object from its component data
(component data classes: otu_table-class
, sample_data-class
,
taxonomyTable-class
, phylo-class
).
1 |
... |
One or more component objects among the set of classes
defined by the phyloseq package, as well as |
The class of the returned object depends on the argument class(es). For an experiment-level object, two or more component data objects must be provided. Otherwise, if a single component-class is provided, it is simply returned as-is. The order of arguments does not matter.
1 2 3 4 5 6 7 8 9 10 11 | data(esophagus)
x1 = phyloseq(otu_table(esophagus), phy_tree(esophagus))
identical(x1, esophagus)
# # data(GlobalPatterns)
# # GP <- GlobalPatterns
# # phyloseq(sample_data(GP), otu_table(GP))
# # phyloseq(otu_table(GP), phy_tree(GP))
# # phyloseq(tax_table(GP), otu_table(GP))
# # phyloseq(phy_tree(GP), otu_table(GP), sample_data(GP))
# # phyloseq(otu_table(GP), tax_table(GP), sample_data(GP))
# # phyloseq(otu_table(GP), phy_tree(GP), tax_table(GP), sample_data(GP))
|
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.