Add UMAP embeddings for a SRTProject object
AddUMAP(SRTProj, n_comp = 2, reduction = NULL, seed = 1)
# S3 method for SRTProject
AddUMAP(SRTProj, n_comp = 2, reduction = NULL, seed = 1)
a SRTProject
object.
an optional positive integer, specify the number of features to be extracted.
an optional string, means which dimensional reduction (e.g. PRECAST, PCA) to use for the UMAP, default as the last one in the SRTProject object.
a non-negative integer, the random seed for reproducibility.
Return a revised SRTProject object by adding UMAP embeddings