Add tSNE embeddings for a SRTProject object
AddTSNE(SRTProj, n_comp = 2, reduction = NULL, seed = 1)
# S3 method for SRTProject
AddTSNE(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 tSNE, 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 tSNE embeddings metadata