nsamples | R Documentation |
Get the number of samples.
nsamples(physeq) ## S4 method for signature 'ANY' nsamples(physeq) ## S4 method for signature 'phyloseq' nsamples(physeq) ## S4 method for signature 'otu_table' nsamples(physeq) ## S4 method for signature 'sample_data' nsamples(physeq)
physeq |
A |
An integer indicating the total number of samples.
taxa_names
, sample_names
,
ntaxa
# data("esophagus") tree <- phy_tree(esophagus) OTU1 <- otu_table(esophagus) nsamples(OTU1) physeq1 <- phyloseq(OTU1, tree) nsamples(physeq1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.