det.cov.mat: Calculates the determinants of multiple covairance matrices...

Description Usage Arguments Value Note Author(s)

Description

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.

Usage

1
det.cov.mat(cov.mats, S)

Arguments

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

Value

A vector of determinants of the p covariance matrices.

Note

This function is called by invert.matrices.jointly, which is called by corMeta.GLS.invert.mats.

Author(s)

Tamar Sofer


tamartsi/MetaCor documentation built on May 31, 2019, 2:56 a.m.