View source: R/Seurat.Utils.Visualization.R
RecallReduction | R Documentation |
Restores dimensionality reduction data (e.g., UMAP, tSNE, PCA) from a backup
stored within obj@misc$reductions.backup
to the active obj@reductions
slot.
RecallReduction(obj = combined.obj, dim = 2, reduction = "umap")
obj |
Seurat object from which the backup will be restored; Default: |
dim |
Number of dimensions of the reduction data to restore; Default: 2. |
reduction |
Type of dimensionality reduction to be restored ('umap', 'tsne', 'pca'); Default: 'umap'. |
## Not run:
if (interactive()) {
combined.obj <- RecallReduction(obj = combined.obj, dim = 2, reduction = "umap")
qUMAP()
combined.obj <- RecallReduction(obj = combined.obj, dim = 3, reduction = "umap")
qUMAP()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.