runUmap.Rd
Takes the pca-data of the object up to the principal component denoted
in argument n_pcs
and performs UMAP with it.
runUmap(object, n_pcs = 20, of_sample = NA, ...)
runUmap2(object, n_pcs = 20, of_sample = NA, ...)
A valid spata-object.
Numeric value. Denotes the number of principal components used. Must be smaller or equal to the number of principal components the pca data.frame contains.
This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.
Additional arguments given to umap::umap()
.
runUmap()
: An updated spata-object containing the reduction variables in the umap data.frame.
runUmap2()
: The direct output-object of umap::umap()