fold_change: Fold Changes between Matrices

Description Usage Arguments Value

View source: R/utils-cluster-significance.R

Description

Fold Changes between Matrices

Usage

1
fold_change(a, b, log = TRUE, log.base = 2, fc.value = 3, greater = T)

Arguments

a

matrix (vars. by. obs.) for which fold changes are calculated

b

matrix (vars. by. obs.) for which the fold changes of matrix 'a' are calculated relative to

log

logical. if TRUE, calculates fold change in log space.

log.base

base of log. Defaults to 2.

fc.value

NULL or numeric. If NULL, return all FC values. If numeric, return FC values >= fc.value.

greater

boolean. If TRUE, return FC values equal to or greater than cutoff, else smaller than or equal to.

Value

numeric vector containing FC values


jlaffy/statistrics documentation built on May 23, 2019, 4:04 a.m.