compilePCAData: Run PCA on a given matrix, expected to be variance stabilised...

View source: R/pca.R

compilePCADataR Documentation

Run PCA on a given matrix, expected to be variance stabilised (at least log-transformed)

Description

Run PCA on a given matrix, expected to be variance stabilised (at least log-transformed)

Usage

compilePCAData(matrix, ntop = NULL)

Arguments

matrix

Simple matrix with genes by row and samples by column

ntop

Number of most variable genes to use

Value

a list with keys 'coords' and 'percentVar' providing PCA coordinates and fractional variance contributions, respectively.


pinin4fjords/shinyngs documentation built on Feb. 28, 2024, 10:19 a.m.