SPIA (version 2.24.0)

combfunc: 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"

Value

A vector of p-values.

Details

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

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

Run this code
# 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")


Run the code above in your browser using DataLab