chiCombP: Fisher's method implementation

Description Usage Arguments Details Value Author(s) Examples

View source: R/Allfunctions.R

Description

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

Usage

1
chiCombP(Pvalues)

Arguments

Pvalues

an array of pvalues

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.

Value

The chi-square final pvalue

Author(s)

Mattia Pelizzola

Examples

1
chiCombP(c(1e-3,1e-5,1e-2))

methylPipe documentation built on Nov. 8, 2020, 6:51 p.m.