Description Usage Arguments Value Warning Author(s) References Examples
View source: R/GetCorrelationMatrix.R
Allows to obtain the pairwise correlation matrix between Z-scores.
1 | GetCorrelationMatrix(ZscoreMatrix)
|
ZscoreMatrix |
a data.frame of Z-scores with SNPs in rows and traits in columns. Careful no to include any column with SNP ids, only Zscores should be included. |
ZscoreCorMatrix |
returns the pairwise correlation matrix between Z-scores |
For further computation of the HOrizontal Pleiotropy Score (HOPS), only traits with a paiwise correlation level lower than 0.8 (in absolute value) should be included.
Marie Verbanck
Daniel Jordan*, Marie Verbanck* and Ron Do. HOPS: a quantitative score reveals pervasive horizontal pleiotropy in human genetic variation is driven by extreme polygenicity of human traits and diseases. Genome Biology 20, 222 (2019).
1 2 | data(UKBiobank_ZscoresSubset)
ZscoreCorMatrixAllSNPs_UKBB <- GetCorrelationMatrix(ZscoreMatrix_UKBB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.