alphaMLG {ROntoTools} | R Documentation

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

### Author(s)

Calin Voichita and Sorin Draghici

### See Also

`pe`

### Examples

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

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

[Package ROntoTools version 2.8.0 Index]