You mentioned in the README that the R implementation is slow due to the use of the prcomp function.
Have you taken a look at the irlba package, yet? It offers several very fast algorithms for
truncated singular value decomposition and principal components analysis of large sparse and dense matrices.
The BiocSingular package is another great resource, it also offers parallelization e.g. across multiple cores.
You mentioned in the README that the R implementation is slow due to the use of the
prcomp
function. Have you taken a look at the irlba package, yet? It offers several very fast algorithms forThe BiocSingular package is another great resource, it also offers parallelization e.g. across multiple cores.