Description Usage Arguments Value Examples
These accessors access and replace the assignmentData slot of OTUbase objects. assignmentData
is an AnnotatedDataFrame. assignmentData
and assignmentData<-
access and replace this AnnotatedDataFrame. assignmentLabels
and assignmentLabels<-
access and replace the labels of this AnnotatedDataFrame. aData
and aData<-
access and replace the dataframe component of the AnnotatedDataFrame.
assignmentNames
returns the assignment names present in the assignmentData
slot.
1 2 3 4 5 6 7 | aData(object,...)
aData(object)<-value
assignmentData(object,...)
assignmentData(object)<-value
assignmentLabels(object,...)
assignmentLabels(object)<-value
assignmentNames(object,...)
|
object |
An OTUset or a TAXset object |
value |
The replacement value for |
... |
Added for completeness. Enables the passing of arguments. |
aData
returns a dataframe.
assignmentData
returns an AnnotatedDataFrame.
assignmentLabels
returns a character.
assignmentNames
returns a character.
1 2 3 4 5 6 7 8 9 10 11 | ## locate directory with data
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 aData dataframe
aData(soginOTU)
## get the assignmentData slot
assignmentData(soginOTU)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.