Learn R Programming

ROntoTools (version 2.0.0)

alphaMLG: Compute alpha weights

Description

Transform a vector of p-values into weights.

Usage

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).

See Also

pe

Examples

Run this code

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

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

Run the code above in your browser using DataLab