Learn R Programming

methylPipe (version 1.6.2)

chiCombP: Fisher's method implementation

Description

Fisher's method implementation, used to combine the results from several independent tests bearing upon the same overall hypothesis.

Usage

chiCombP(Pvalues)

Arguments

Pvalues
an array of pvalues

Value

  • The chi-square final pvalue

Details

Pvalues will not be corrected for multiple testing. The sum of the log of the pvalues is determined (S). -2*S has a chi-square distribution with 2k degrees of freedom, where k is the number of tests being combined. A chi-square test is then performed.

Examples

Run this code
chiCombP(c(1e-3,1e-5,1e-2))

Run the code above in your browser using DataLab