matrix_var_filter: Filter a matrix based on standard deviation of variance

Description Usage Arguments Value

View source: R/transcription_functions.R

Description

This filters the rows of a matrix by computing the log of variance + 1 for each row, computing the standard deviation of all log_vars, and then selecting rows with a log_var greater than the value of mean(log_var) + sd(log_var) * sd_cut.

Usage

1
matrix_var_filter(x, sd_cut = 2, top = NULL)

Arguments

x

The matrix to filter

sd_cut

The cutoff for sd(var()). Default = 2. If NULL, performs no filtering.

top

The max number of rows to return. If NULL, returns all results.

Value

a matrix with filtered rows.


AllenInstitute/lowcat documentation built on Oct. 30, 2019, 4:45 a.m.