Investigating natural selection in the US Health and Retirement Study. Now published in Behavior Genetics.
The paper is at hrs-selection.pdf.
A quick informal intro is here.
You'll need data from the RAND HRS, including genetic data, and the PGI repository: see the setup
chunk in hrs-selection.qmd
for details on where to put them. We can help if you are stuck.
Clone this repository with git clone https://github.com/hughjonesd/hrs-selection
.
Start R within the root directory. It will install renv
and the required R libraries. Then from the shell,
run quarto render hrs-selection.qmd
to produce the PDF.