Learn R Programming

ROntoTools (version 2.0.0)

alpha1MR: Compute alpha weights

Description

Transform a vector of p-values into weights.

Usage

alpha1MR(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 1-pv/threshold.

See Also

pe

Examples

Run this code

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

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

Run the code above in your browser using DataLab