Get the number of samples.
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.
#
data("esophagus")
tree <- phy_tree(esophagus)
OTU1 <- otu_table(esophagus)
nsamples(OTU1)
physeq1 <- phyloseq(OTU1, tree)
nsamples(physeq1)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.