sig: Significance according to p-values of fold changes.

Description Usage Arguments Value

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

Description

Significance according to p-values of fold changes.

Usage

1
2
sig(a, b, p.value, fc.value = 3, fc.sort = F, pval.sort = F,
  adjust.method = NULL, ...)

Arguments

a

matrix (vars. by. obs.) for which significance (of each obs.) is calculated

b

matrix (vars. by. obs.) for which significance (of each obs.) in matrix 'a' is calculated relative to.

p.value

arg to p_val. NULL or numeric. If NULL, return all p-values. If numeric, return p-values <= p.value.

fc.value

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

fc.sort

if TRUE, significantly differentially expressed genes are sorted by fold change (highest first). Default is TRUE.

pval.sort

if TRUE, significantly differentially expressed genes are sorted by p.value (highest first). pval.sort=TRUE overrides fc.sort=TRUE. Default is FALSE.

adjust.method

NULL or character string. If NULL, do not adjust p-values. If string, adjust p-values using the method specified.

...

other args passed to fold_change or p_val.

Value

one of: i) all p-values for all fold changes (if fc.value == NULL & p.value == NULL) ii/iii) all/signifcant p-values for significant/all fold changes or iv) signifcant p-values for significant fold changes (if fc.value != NULL & p.value != NULL).


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