Code for the project: Ebinger, J.E. et al., Apparent Treatment Resistant Hypertension Associated Lifetime Cardiovascular Risk in a Longitudinal National Registry. Eur. J. Prev. Cardiol. (2023) accepted.
- Data: FinnGen https://www.finngen.fi/en
- Description of variables: https://risteys.finregistry.fi/
- Description of registries: https://finngen.gitbook.io/finngen-analyst-handbook/finngen-data-specifics/finnish-health-registers-and-medical-coding
- Data access: https://site.fingenious.fi/en/
res_ht
├── README.md # Overview
├── res_ht5_final.Rmd # R markdown for the main analysis
├── res_ht5_diursublc.Rmd # Sensitivity analysis with changed medication class definition
├── res_ht5_final.Rmd # Documentation html
├── res_ht5_diursublc.Rmd # Documentation html with changed medication class definition
├── ATC_codes_r8.csv # Medication class definitions for the main analysis
├── ATC_codes_r8_diursubcl.csv # Medication class definitions for the sensitivity analysis
├── scripts
├── gen_res_ht_pre55.R # Calculates a moving sum of drug purchases, required by the main script
├── gen_res_ht_pre55_diursubcl.R # Calculates a moving sum of drug purchases, required by the sensitivity analysis
├── functions.R # Minor R functions for the analysis
├── select columns.pl # Perl script to select columns from a tsv file by column names
├── fg_pheno_cols.txt # List of variables that are extracted from the FinnGen phenotype file