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.
satterChiPool(ps, covmat, kappa)A pooled p-value between 0 and 1.
numeric vector of M p-values
M by M covariance matrix of chi-squared random variables arising from quantile transformations of ps
numeric degrees of freedom
Chris Salahub
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.