Description Usage Arguments Value Examples
View source: R/preprocessing_filtering_reduction.R
Reduce dimensions (PCA, TSNE, UMAP)
1 2 3 4 5 6 7 8 |
scExp |
A SingleCellExperiment object. |
dimension_reductions |
A character vector of methods to apply. (c('PCA','TSNE','UMAP')) |
n |
Numbers of dimensions to keep for PCA. (50) |
batch_correction |
Do batch correction ? (FALSE) |
batch_list |
List of characters. Names are batch names, characters are sample names. |
verbose |
(TRUE) |
A SingleCellExperiment object containing feature spaces. See ?reduceDims().
1 2 3 4 | scExp = create_scExp(create_scDataset_raw()$mat,create_scDataset_raw()$annot)
scExp = reduce_dims_scExp(scExp,dimension_reductions=c("PCA","UMAP"))
scExp = normalize_scExp(scExp)
scExp = reduce_dims_scExp(scExp,dimension_reductions=c("PCA","UMAP"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.