Description Usage Arguments Value Examples
Function to get a subset of an TAXset object.
1 | subTAXset(object, samples)
|
object |
An TAXset object |
samples |
A list of sample names |
subTAXset
returns an TAXset
1 2 3 4 5 6 7 8 9 | ## locate directory with data
dirPath <- system.file("extdata/Sogin_2006", package="OTUbase")
## read in data into TAXset object
soginTAX <- readTAXset(dirPath=dirPath, samplefile="sogin.groups", fastafile="sogin.fasta", taxfile="sogin.unique.fix.tax",namefile="sogin.names", sampleADF="sample_metadata.txt")
## get subset of soginTAX
subTAXset(soginTAX, samples=getSamples(soginTAX, colnum="Site", value="Labrador", exact=FALSE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.