Add PCA embeddings for a SRTProject object
a SRTProject
object.
an optional positive integer, specify the number of features to be extracted.
a string, the method to compute PCA scores. There are three versions to provide: approximated PCA (APCA), PCA, and weighted PCA (WPCA).
a non-negative integer, the random seed for reproducibility.
Return a revised SRTProject object by adding PCA embeddings