View source: R/mJAM_helper_chrX.R View source: R/mJAM_helper.R
get_XtX | R Documentation |
To calculate sufficient statistics based on summary statistics
To calculate sufficient statistics based on summary statistics
get_XtX(N_outcome, Gl, maf)
get_XtX(N_outcome, Gl, maf)
N_outcome |
Sample size in the GWAS where we obtained 'betas' |
Gl |
A matrix of reference dosage, columns are SNPs and rows are individuals. |
maf |
A vector of minor allele frequencies |
a variance covariance matrix of scaled Gl
a variance covariance matrix of scaled Gl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.