Description Usage Arguments Value See Also Examples
A more generic function to subset your data by whichever column you  want.
Even works on vectors, so you can subset by multiple values of an attribute
at a time. To remove data by an attribute, see dropAttribute.
1  | byAttribute(obj, string, col)
 | 
obj | 
 A valid DAM object (created by   | 
string | 
 Attribute values to include. Can be a vector.  | 
col | 
 Which column of attribute values should be used.  | 
Returns a DAM S4 object.
1 2 3 4 5 6 7  | listAttribVals(DAM_DD, "genotype")
returnedDAM <- byAttribute(DAM_DD, "experimental")
listAttribVals(returnedDAM, "genotype")
listAttribVals(DAM_DD, "genotype")
returnedDAM <- byAttribute(DAM_DD, c("control A", "control B"))
listAttribVals(returnedDAM, "genotype")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.