Description Usage Arguments Examples
Various functions. notus
returns the number of OTUs in an OTUset object. nsamples
returns the number of samples in either an OTUset or a TAXset object. seqnames
returns the sequence names of the OTUset or TAXset object without the extra information commonly present with the id.
1 2 3 |
object |
An OTUset or a TAXset object. |
... |
Other arguments. These are currently nonfunctional. |
1 2 3 4 5 6 7 8 9 10 | dirPath <- system.file("extdata/Sogin_2006", package="OTUbase")
## read in data into OTUset object
soginOTU <- readOTUset(dirPath=dirPath, level="0.03", samplefile="sogin.groups", fastafile="sogin.fasta", otufile="sogin.unique.filter.fn.list", sampleADF="sample_metadata.txt")
## get the number of OTUs
notus(soginOTU)
## get the number of samples
nsamples(soginOTU)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.