Description Usage Arguments Value Examples
View source: R/SCE-functions.R
Reduce the size of a SingleCellExperiment object by unneeded information.
1 2 3 4 5 6 7 8 9 |
sce |
SingleCellExperiment object |
rowData.keep |
Either TRUE (keep all rowData columns), FALSE (remove all rowData columns) or a character vector with the names of the rowData columns to keep |
colData.keep |
Either TRUE (keep all colData columns), FALSE (remove all colData columns) or a character vector with the names of the colData columns to keep |
metadata.keep |
Either TRUE (keep all metadata), FALSE (remove all metadata) or a character vector with the names of the metadata items to keep |
assays.keep |
Either TRUE (keep all assays), FALSE (remove all assays) or a character vector with the names of the assays to keep |
sparsify |
Whether to convert assay matrices to sparse format. Either "all", "none" or "auto" (default) to only convert those matrices that will result in a size reduction |
verbose |
Whether to print status messages |
SingleCellExperiment object
1 2 3 4 | sce <- splatSimulate(verbose = FALSE)
sce.min <- minimiseSCE(sce, verbose = FALSE)
object.size(sce)
object.size(sce.min)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.