split,SingleCellAssay,character-method | R Documentation |
list
Splits a SingleCellAssay
into a list
by a factor (or something coercible into a factor) or a character giving a column of colData(x)
## S4 method for signature 'SingleCellAssay,character'
split(x, f, drop = FALSE, ...)
x |
SingleCellAssay |
f |
length-1 character, or atomic of length ncol(x) |
drop |
drop unused factor levels |
... |
ignored |
List
data(vbetaFA)
split(vbetaFA, 'ncells')
fa <- as.factor(colData(vbetaFA)$ncells)
split(vbetaFA, fa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.