inertia_rows: Find most variable rows

View source: R/CA.R

inertia_rowsR Documentation

Find most variable rows

Description

Calculates the contributing inertia of each row which is defined as sum of squares of pearson residuals and selects the rows with the largested inertias, e.g. 5,000.

Usage

inertia_rows(mat, top = 5000, ...)

Arguments

mat

A matrix with genes in rows and cells in columns.

top

Number of genes to select.

...

Further arguments for 'comp_std_residuals'

Value

Returns a matrix, which consists of the top variable rows of mat.


VingronLab/APL documentation built on Nov. 9, 2024, 5:33 p.m.