alpha1MR {ROntoTools} | R Documentation

## 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`.

### Author(s)

Calin Voichita and Sorin Draghici

### See Also

`pe`

### Examples

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

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

[Package ROntoTools version 2.18.0 Index]