run_umap | R Documentation |
This function adapts the Seurat RunUMAP function by also checking if 'dims' is larger than dimensions in 'reduction' object. If yes, it uses the maximum columns of 'reduction' object.
run_umap(seu, dims, reduction, seed = 1, ...)
seu |
Seurat object (required). |
dims |
Vector denoting which dimensions to use as input features, e.g. dims = 1:30 |
reduction |
Reduction object to run UMAP. E.g. can be 'pca' or 'harmony' for integrated data (required). |
seed |
Set a random seed, for reproducibility. |
... |
Additional named parameters passed to Seurat RunUMAP function. |
Seurat object.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.