gpcaEvecs: gPCA using pre-computed eidendecomposition
Description
Performs gPCA with pre-computed eigenvectors and eigenvalues.
Usage
gpcaEvecs(X, evecs, evals, D = rep(1, nrow(X)), k)
Arguments
- X
Data matrix.
- evecs
Eigenvectors of Q, the inner product/similarity
matrix.
- evals
Eigenvalues of Q.
- D
Sample weights
- k
The number of components to return.