split-SingleCellAssay-character-method: Split into 'list'

Description Usage Arguments Value Examples

Description

Splits a SingleCellAssay into a list by a factor (or something coercible into a factor) or a character giving a column of colData(x)

Usage

1
2
## S4 method for signature 'SingleCellAssay,character'
split(x, f, drop = FALSE, ...)

Arguments

x

SingleCellAssay

f

length-1 character, or atomic of length ncol(x)

drop

drop unused factor levels

...

ignored

Value

List

Examples

1
2
3
4
data(vbetaFA)
split(vbetaFA, 'ncells')
fa <- as.factor(colData(vbetaFA)$ncells)
split(vbetaFA, fa)


Search within the MAST package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.