dot-rawResidualsPca: Principal component analysis on raw residuals

.rawResidualsPcaR Documentation

Principal component analysis on raw residuals

Description

Principal component analysis on raw residuals

Usage

.rawResidualsPca(y, k, row_offset, col_offset)

Arguments

y

Sparse matrix (can be a matrix, dgCMatrix, or SparseMatrix)

k

Number of principal components to return

row_offset, col_offset

Vectors whose product subtracted from y gives the residual matrix

Value

List with components:

  • sdevStandard deviations of principal components

  • rotationMatrix of variable loadings (i.e., matrix containing the eigenvectors of the covariance/correlation matrix as columns)

  • xMatrix of rotated data (rotated after applying the transformations specified)


rafalab/smallcount documentation built on June 1, 2025, 2:10 p.m.