satterChiPool {PoolBal} | R Documentation |
Pool p-values using the Satterthwaite approximation
Description
Compute the pooled p-value of dependent p-values based on the dependence present when they are all converted to chi-squared random variables by the same chi-squared quantile function.
Usage
satterChiPool(ps, covmat, kappa)
Arguments
ps |
numeric vector of M p-values |
covmat |
M by M covariance matrix of chi-squared random variables arising from quantile transformations of ps |
kappa |
numeric degrees of freedom |
Details
Care must be taken in the arguments for this function, as the covmat argument accepts the covariance of the transformed variables rather than the covariance of the p-values, and so passes the argument covmat directly to the function that computes the Satterthwaite approximation. For the case of genetic markers, the 'convertGeneticSigma' function provides the appropriate matrix given a genetic correlation matrix.
Value
A pooled p-value between 0 and 1.
Author(s)
Chris Salahub