GetCorrelationMatrix: Get Z-scores Correlation Matrix

Description Usage Arguments Value Warning Author(s) References Examples

View source: R/GetCorrelationMatrix.R

Description

Allows to obtain the pairwise correlation matrix between Z-scores.

Usage

1
    GetCorrelationMatrix(ZscoreMatrix)

Arguments

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.

Value

ZscoreCorMatrix

returns the pairwise correlation matrix between Z-scores

Warning

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.

Author(s)

Marie Verbanck

References

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).

Examples

1
2
    data(UKBiobank_ZscoresSubset)
    ZscoreCorMatrixAllSNPs_UKBB <- GetCorrelationMatrix(ZscoreMatrix_UKBB)

rondolab/HOPS documentation built on July 30, 2020, 11:05 a.m.