subsetSCECols | R Documentation |
Used to peform subsetting of a
SingleCellExperiment object using a variety of methods that
indicate the correct columns to keep. The various methods,
index
, bool
, and colData
, can be used in conjunction
with one another.
subsetSCECols(inSCE, index = NULL, bool = NULL, colData = NULL)
inSCE |
Input SingleCellExperiment object. |
index |
Integer vector. Vector of indicies indicating which columns
to keep. If |
bool |
Boolean vector. Vector of |
colData |
Character. An expression that will identify a subset of
columns using variables found in the |
A SingleCellExperiment object that has been subsetted by colData.
Joshua D. Campbell
data(scExample)
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.