Description Usage Arguments Value Note Author(s)
Calculates the determinants of multiple covairance matrices jointly using recurssion. This is used by the function invert.matrices.jointly, and ultimately it is used to speed-up the calculation of the MetaGLS test statistics for many SNPs together.
1 | det.cov.mat(cov.mats, S)
|
cov.mats |
A p by S^2 matrix of covairance matrices between effect estimates across S strata, corresponding to p SNPs |
S |
The number of strata |
A vector of determinants of the p covariance matrices.
This function is called by invert.matrices.jointly, which is called by corMeta.GLS.invert.mats.
Tamar Sofer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.