combfunc {SPIA} | R Documentation

## Combining two p-values using Fisher's product or normal inversion method

### Description

Combining two p-values using Fisher's product or normal inversion methods.

### Usage

    combfunc(p1=NULL,p2=NULL,combine="fisher")

### Arguments

`p1` | A vector of probabilities.
`p2` | A vector of probabilities.
`combine` | A string with the name of the method to be used. Options include "fisher","norminv"

### Details

Two vectors of p-values are combined into a vector of global p-values.

### Value

A vector of p-values.

### Author(s)

Adi Laurentiu Tarca <atarca@med.wayne.edu>, Purvesh Khatri, Sorin Draghici

### References

Adi L. Tarca, Sorin Draghici, Purvesh Khatri, et. al, A Signaling Pathway Impact Analysis for Microarray Experiments, 2008, Bioinformatics, 2009, 25(1):75-82.

### See Also

`spia`

### Examples

    # Examples use colorectal cancer dataset
    p1=c(0.2,0.4,0.1)
    p2=c(0.01,0.7,0.01)
    pG=combfunc(p1,p2,combine="fisher")
    pG=combfunc(p1,p2,combine="norminv")

[Package SPIA version 2.38.0 Index]