Module 7 · 8 steps
Plots and reporting
QQ and Manhattan plots, thresholds, clumping, regional plots and reporting.
In this module
- Before you start
- You need the full checkpoint at step 6.8. The first code chunk checks the files that this module needs.
- Where the module ends
- This module has no checkpoint.
The notebook is a Quarto file (.qmd). Open it in RStudio from the project folder.
At a glance
What you will do. You will turn the results of the association test into plots and tables. You will check that the results are trustworthy. Then you will find the results with very small p-values and write a short report.
What you will learn.
- How to draw and read the two main genome-wide association study (GWAS) plots.
- How to check if the p-values are too small overall.
- How to choose a p-value threshold when you run many tests.
- How to group nearby signals and look closely at one region.
- How to report results honestly, including their limits.
How long it takes. About 75 minutes. The slowest step is 7.7, because PLINK runs two new association scans.
Your progress: 0 of 8 steps done
Saved in this browser only. Nothing is sent anywhere.
Steps
- 7.1QQ plotDraw a quantile-quantile (QQ) plot.
- 7.2Genomic inflation factorCalculate lambda for the autosomal variants.
- 7.3Manhattan plotDraw a Manhattan plot of the association results along the autosomes.
- 7.4Multiple-testing thresholdsCompare three ways to decide which p-values are small enough to call a result: the usual GWAS threshold, a Bonferroni threshold for this scan and a false-discovery-rate adjustment.
- 7.5Clump correlated resultsGroup significant variants that are correlated into clumps.
- 7.6Regional plotLook closely at the three regions with genome-wide significant variants: L1 on chromosome 3, L2 on chromosome 9 and L3 on chromosome 12.
- 7.7Compare without PCs and without QCCompare the main analysis, which we planned in advance, with two analyses that we deliberately make weaker.
- 7.8Final summary and reportingWrite a clear summary of the whole simulated main path.
Recap
- You drew a QQ plot and calculated an autosomal lambda of approximately 1.016.
- You drew a Manhattan plot. Eight variants are below 5e-8, in three regions on chromosomes 3, 9 and 12.
- You compared thresholds: 5e-8 for the usual rule and approximately 2.11e-7 from Bonferroni for 236,815 tests.
- You grouped the eight variants into three clumps and looked at the L2 region on chromosome 9.
- Without PCs the lambda rose to about 1.546, and without sample or variant QC as well it rose to about 1.655.
- You wrote a final summary and a table of the lead variants.
Next: this is the last module of the main path. You can now report your findings, with their limits. Modules A (imputation) and B (mixed models) are optional extras and are not part of the main path.