Code used to create the GWAS-by-subtraction of non-cognitive abilities, and for follow-up analyses.
- Meta-analysis of the GWAS of EA from Lee et al. 2018 and from 23andMe
- GWAS-by-subtraction with Genomic SEM. A tutorial to run a GWAS-by-subtraction is also available here, for more recent GenomicSEM versions. Find the link to the summary statistics below.
- Sensitivity analyses: Sensitivity test for non-zero correlation of Cog and NonCog, Sensitivity test for causal relation between CP and EA, Probing potential biases due to cohort differences in SNP heritability
- Genetic correlations and decomposition of the correlation
- Genetic correlations: Figure 4, Sup. Figure 11, Sup. Table 14
- Decomposition of the correlation: using the model Sup. Fig. 17, Sup. Table 15, it estimates the percentage of the genetic covariance between educational attainment and the target traits that was explained by Cog and NonCog.
- Polygenic score analyses: meta-analyses, Fig 3, Sup. Figures 10 & 12, Sup. Table 12
- Enrichment of tissue-specific gene expression: Sup. Table 16
- Enrichment of cell-type specific expression with:
- MAGMA: Sup. Figure 13 & 14, Sup. Table 18
- Stratified LDscore regression: Sup. Figure 15, Sup. Table 17 & 19
- Transcriptome-wide analysis: Sup. Figure 16, Sup. Table 20
Code was written with GenomicSEM_0.0.2.
Reference: Demange, P.A., Malanchini, M., Mallard, T.T. et al. Investigating the genetic architecture of noncognitive skills using GWAS-by-subtraction. Nat Genet 53, 35-44 (2021). https://doi.org/10.1038/s41588-020-00754-2
You can still find the associated preprint here.
You can download the summary statistics of NonCog and Cog, excluding 23andMe data, on the GWAS catalog website:
NonCog: ftp://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST9001187
Cog: ftp://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST90011875