alphaMLG: Compute alpha weights

Description Usage Arguments Details Author(s) See Also Examples

View source: R/utils.R

Description

Transform a vector of p-values into weights.

Usage

1
alphaMLG(pv, threshold = max(pv))

Arguments

pv

vector of p-values

threshold

the threshold value that was used to select DE genes

Details

Computes a set of weights from p-values using the formula -log10(pv/threshold).

Author(s)

Calin Voichita and Sorin Draghici

See Also

pe

Examples

1
2
3
load(system.file("extdata/E-GEOD-21942.topTable.RData", package = "ROntoTools"))

head(alphaMLG(top$adj.P.Val))

ROntoTools documentation built on Nov. 8, 2020, 7:41 p.m.