pca_irlba_for_sparseMatrix {ChromSCape}R Documentation

Run sparse PCA using irlba SVD

Description

Run sparse PCA using irlba SVD

Usage

pca_irlba_for_sparseMatrix(x, n_comp)

Arguments

x

A sparse normalized matrix (features x cells)

n_comp

The number of principal components to keep

Value

The rotated data, e.g. the cells x PC column in case of sc data.


[Package ChromSCape version 1.0.0 Index]