Description Usage Arguments Details Value Author(s) Examples
subset ballgown objects to specific samples or genomic locations
1 2 3 4 |
x |
a ballgown object |
... |
further arguments to generic subset |
cond |
Condition on which to subset. See details. |
genomesubset |
if TRUE, subset |
To use subset
, you must provide the cond
argument as a
string representing a logical expression specifying your desired subset.
The subset expression can either involve column names of
texpr(x, "all")
(if genomesubset
is TRUE
) or of
pData(x)
(if genomesubset
is FALSE
). For example, if
you wanted a ballgown object for only chromosome 22, you might call
subset(x, "chr == 'chr22'")
. (Be sure to handle quotes within
character strings appropriately).
a subsetted ballgown object, containing only the regions or samples
satisfying cond
.
Alyssa Frazee
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.