Description Usage Arguments Value Examples
Subset cells of specific conditions from an EMSet
.
1 2 3 4 5 | subsetCondition(object, ..., by, conditions)
## S4 method for signature 'EMSet'
subsetCondition(object, by = c(),
conditions = list())
|
object |
An |
... |
... |
by |
A list containing parameter to subset object by. These should be present as a column in colInfo and names in the named list 'conditions'. |
conditions |
Conditions you would like to select. They should be organised into a named list, with the values specified in 'by' as sublist names. |
An EMSet
containing cells that have these
conditions.
1 2 3 4 5 | # Load a pre-existing EMSet
em_set <- ascend::analyzed_set
# Subset batch 1
batch1 <- subsetCondition(em_set, by = "batch", conditions = list(batch = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.