harmanScores {Harman} | R Documentation |
A tweaking of stats::prcomp
such that for the svd, the
transpose of u is used instead of v when the number of assays is less than
the number of samples.
harmanScores(x)
x |
matrix, data matrix of values to perform PCA on. |
scores, a prcomp-like object with rotation, scores and the center values. The scores are corrected, but all three are needed later to reconstruct the data.