sce2matlist | R Documentation |
SingleCellExperiment to list of matrices
sce2matlist(sce, splitby, to_include = NULL, whichmat = "counts")
sce |
SingleCellExperiment that is to be separated into list of count matrices |
splitby |
character; name of the attribute from colData that should be used to separate the SCE |
to_include |
(optional) character vector; determines which values from the "splitby" column will be included in the outputted matlist. NULL is the default, and will result in selecting all elements |
whichmat |
character; defaults to |
list of matrices
library(DuoClustering2018) sce <- sce_full_Zhengmix4eq() matlist <- sce2matlist(sce = sce, splitby = 'phenoid', whichmat = 'logcounts')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.