satterChiPool | R Documentation |
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)
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 |
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.
A pooled p-value between 0 and 1.
Chris Salahub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.