Uses an external phenotypic covariance matrix and summary data to estimate covariance matrices for estimated effects of individual genetic variants on each exposure. The phenotypic covariance matrix should be constructed using standardised phenotype measures. The function returns a number of covariance matrices equal to the number of SNPs, where SNP and row numbers reference ordered exposures.
Value
A list of covariance matrices with respect to each genetic variant, retaining the ordering in seBXGs
References
Sanderson, E., et al., An examination of multivariable Mendelian randomization in the single-sample and two-sample summary data settings. International Journal of Epidemiology, 2019, 48, 3, 713-727. doi:10.1093/ije/dyy262
Examples
if (FALSE) { # \dontrun{
phenocov_mvmr(Pcov, summarydata[,c(3,4)])
} # }