dropAttribute: Remove data by an attribute

Description Usage Arguments Value See Also Examples

Description

Equivalent to byAttribute, but drops data by a value instead. Works on vectors.

Usage

1
dropAttribute(obj, string, col)

Arguments

obj

A valid DAM object (created by newExperiment).

string

Attribute values to include. Can be a vector.

col

Which column of attribute values should be used.

Value

Returns a DAM S4 object.

See Also

byAttribute

Examples

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")

kazi11/actmon documentation built on May 18, 2017, 4:24 p.m.