Description Usage Format References Examples
Contains 3 elements 'SNPinfo_UKBB', 'ZscoreMatrix_UKBB' and 'ZscoreCorMatrix_UKBB' to compute the HOPS (HOrizontal Pleiotropy Score) on a subset of 10,000 from the UK Biobank summary stats.
SNP information for the subset of UK Biobank summary stats (10,000 SNPs).
1 | data("UKBiobank_ZscoresSubset")
|
SNPinfo_UKBB
data.frame with 10,000 SNPs in rows and information in columns (RS ids, chromosome, position)
ZscoreMatrix_UKBB
data.frame of Z-scores with 10,000 SNPs in row and 372 UK Biobank phenotypes in columns.
ZscoreCorMatrix_UKBB
data.frame of pairwise correlations between Z-scores of the 372 UK Biobank phenotypes.
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 3 4 5 6 7 8 9 | # Load a subset of the UK Biobank summary statistics
data(UKBiobank_ZscoresSubset)
# Apply the whitening procedure
ZscoreMatrixWhitened_UKBB <- GetWhitenedZscores(ZscoreMatrix = ZscoreMatrix_UKBB, ZscoreCorMatrix = ZscoreCorMatrix_UKBB)
# Get the LD-corrected HOPS
HOPS_UKBB <- GetHOPS(ZscoreWhitenedMatrix = ZscoreMatrixWhitened_UKBB, RSids = SNPinfo_UKBB$SNPid, LDCorrected = TRUE, POLYGENICITYCorrected = FALSE, GlobalTest = TRUE)
# Results
GlobalTest_UKBB <- HOPS_UKBB[[1]]
HOPS_UKBB <- HOPS_UKBB[[2]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.