Skip to content

sashagusev/tan2024_cog_hsq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Re-Analysis of LDSC heritability estimates in Tan et al. 2024 and Howe et al. 2022

This repository contains code to re-analyze the population and direct/sibling GWAS data from Tan et al. 2024 and Howe et al. 2022 using a modern LDSC model.

The following files are required

The following scripts will perform the analysis

run_all.sh : Generates LDSC-format summary stats from the Tan et al. 2024 input data and runs both versions of the LDSC model run_howe.sh : Same as above but for running the Howe et al. summary stats (which are provided in this repository in LDSC format) plot.R : Generate barplots (using hard-coded numbers)

The following files are produced

*.log files from each LDSC run contain all of the heritability estimates and can be queried as follows:

$ grep "Total Observed scale h2" *.log
Howe.Cog.direct.LDSC_h2.baselineLD_model.log:Total Observed scale h2: 0.1146 (0.0674)
Howe.Cog.direct.LDSC_h2.base_model.log:Total Observed scale h2: 0.1311 (0.0434)
Howe.Cog.population.LDSC_h2.baselineLD_model.log:Total Observed scale h2: 0.1565 (0.0399)
Howe.Cog.population.LDSC_h2.base_model.log:Total Observed scale h2: 0.243 (0.0276)
tan_2024_cognitive_performance.direct.LDSC_h2.baselineLD_model.log:Total Observed scale h2: 0.1233 (0.0496)
tan_2024_cognitive_performance.direct.LDSC_h2.base_model.log:Total Observed scale h2: 0.1661 (0.0303)
tan_2024_cognitive_performance.population.LDSC_h2.baselineLD_model.log:Total Observed scale h2: 0.1261 (0.0195)
tan_2024_cognitive_performance.population.LDSC_h2.base_model.log:Total Observed scale h2: 0.1855 (0.0161)

Acknowledgements

Thank you to the authors of Tan et al. 2024 for making all data and code easily available with the pre-print. Thank you to the authors of Howe et al. 2022 for making all data available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors