Description Usage Arguments Value Examples
View source: R/estimate_ss_cor.R
Estimate the correlations between GWAS summary statistics using reference panel eigenvectors and reference panel genotypes.
1 | estimate_ss_cor(ref_pcs, ref_genotypes, link_function)
|
ref_pcs |
An n*m matrix containing PCs calculated from the reference panel. Here n is the number of subjects in the reference panel and m is roughly the number of PCs used in the original analysis which produced the summary statistics. |
ref_genotypes |
An n*d matrix holding the genotypes from the reference panel, where the d columns correspond to the d SNPs for which we have summary statistics. No missing data allowed. |
link_function |
Either "linear" or "logit" or "log". |
A list with the elements:
cor_mat |
The d*d matrix giving the pairwise correlation of every two test statistics. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.