Description Usage Arguments Value
View source: R/data_preprocessing_utils.R
Split the expression matrix into a list of per batch expressions
1 2 3 4 5 6 7 | split_dataset_by_batch(
X,
batch,
labels = NULL,
metadata = NULL,
dataset.name = NULL
)
|
X |
An ncells-by-ngenes gene expression matrix |
batch |
categorical/characteristic vector as batch id |
labels |
(optional) charateristic vector of cell labels (default NULL) |
metadata |
(optinal) dataframe of ncells row saving the cell metadata |
dataset.name |
string, prefix of list name |
a list containing
a list of gene expression matrix per batch
a list of vectors, saving the cell labels per batch
a list of dataframe saving the metadata per batch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.