Last updated: 2024-06-15
Checks: 1 1
Knit directory: dynamicHRpaper/
This reproducible R Markdown analysis was created with workflowr (version 1.7.1). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
The R Markdown file has unstaged changes. To know which version of
the R Markdown file created these results, you’ll want to first commit
it to the Git repo. If you’re still working on the analysis, you can
ignore this warning. When you’re finished, you can run
wflow_publish
to commit the R Markdown file and build the
HTML.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version 63dbdbd. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for
the analysis have been committed to Git prior to generating the results
(you can use wflow_publish
or
wflow_git_commit
). workflowr only checks the R Markdown
file, but you know if there are other scripts or data files that it
depends on. Below is the status of the Git repository when the results
were generated:
Ignored files:
Ignored: Figs/Fig3/interaction_time_byage_withPCS.tiff
Ignored: Figs/Fig3/interaction_time_byage_withPCS_2.tiff
Ignored: data/amit_df.rds
Ignored: data/amit_df_with_pc_correction.rds
Ignored: data/baseline_withPCS.rds
Ignored: data/fh_full.rds
Ignored: data/fh_prs.rds
Ignored: data/fhs_prs_with_pc_corrrection.rds
Ignored: data/followupdates.rds
Ignored: data/genotype_data_nodup.eigenvec
Ignored: output/amit_df_with_pc_correction.rds
Ignored: output/fhs_prs_with_pc_corrrection.rds
Ignored: output/h1hs_withPC.rds
Ignored: output/hall_withPC.rds
Ignored: output/hallpce.rds
Ignored: output/hazards_fh_EQ_withPC_corrections.rds
Ignored: output/hazards_fh_EQ_withPC_corrections_sex0.rds
Ignored: output/hazards_fh_EQ_withPC_corrections_sex1.rds
Ignored: output/hazards_rate_UKB_amit_EQ_withPCcorrection.rds
Ignored: output/hazards_rate_lowerbound_amit_EQ_withPCcorrection.rds
Ignored: output/hazards_rate_lowerbound_fh_EQ_withPC_corrections.rds
Ignored: output/hazards_rate_lowerbound_fh_EQ_withPC_corrections_sex0.rds
Ignored: output/hazards_rate_lowerbound_fh_EQ_withPC_corrections_sex1.rds
Ignored: output/hazards_rate_upperbound_amit_EQ_withPCcorrection.rds
Ignored: output/hazards_rate_upperbound_fh_EQ_withPC_corrections.rds
Ignored: output/hazards_rate_upperbound_fh_EQ_withPC_corrections_sex0.rds
Ignored: output/hazards_rate_upperbound_fh_EQ_withPC_corrections_sex1.rds
Ignored: output/r2_withPC.rds
Ignored: output/r2fhs_withPC.rds
Ignored: output/r2pce.rds
Ignored: output/statinuse.rds
Ignored: output/zph_all.rds
Ignored: output/zph_amit_EQ.rds
Unstaged changes:
Modified: analysis/index.Rmd
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
These are the previous versions of the repository in which changes were
made to the R Markdown (analysis/index.Rmd
) and HTML
(docs/index.html
) files. If you’ve configured a remote Git
repository (see ?wflow_git_remote
), click on the hyperlinks
in the table below to view the files as they were in that past version.
File | Version | Author | Date | Message |
---|---|---|---|---|
Rmd | 63dbdbd | Sarah Urbut | 2024-06-15 | Update |
html | 63dbdbd | Sarah Urbut | 2024-06-15 | Update |
html | 3c8102f | Sarah Urbut | 2024-06-13 | Update |
Rmd | ae5b719 | Sarah Urbut | 2024-06-13 | Update |
html | ae5b719 | Sarah Urbut | 2024-06-13 | Update |
html | 490e529 | Sarah Urbut | 2024-06-13 | Update |
Rmd | 88231db | Sarah Urbut | 2024-06-13 | Update |
html | 88231db | Sarah Urbut | 2024-06-13 | Update |
Rmd | 111b7d1 | Sarah Urbut | 2024-06-13 | update |
html | 111b7d1 | Sarah Urbut | 2024-06-13 | update |
Rmd | e42fc49 | Sarah Urbut | 2024-06-13 | update |
html | e42fc49 | Sarah Urbut | 2024-06-13 | update |
Rmd | 7cc198e | Sarah Urbut | 2024-06-12 | update |
html | 7cc198e | Sarah Urbut | 2024-06-12 | update |
html | 8a9060f | Sarah Urbut | 2024-06-12 | Update |
Rmd | cef5b27 | Sarah Urbut | 2024-06-12 | Update |
html | cef5b27 | Sarah Urbut | 2024-06-12 | Update |
html | 9d06964 | Sarah Urbut | 2024-06-12 | Update |
Rmd | c48abee | Sarah Urbut | 2024-06-12 | Update |
Welcome to a detailed reproduction of all analyses in the Dynamic Hazard paper, Urbut et al 2024.
Figure 1 Here is the hazard rate and proportion of variation explained in the UK Biobank and
Figure 1b Here is the hazard rate and proportion of variation explained in the Framingham Offspring Cohort
Figure 2 Here are the relative and absolute rates of CAD by PRS and PCE percentile for three age categories
Figure 3 Here is the stratification by age and PCE using the UK Biobank
Figure 4 Here is the proportion of future events captured using a PCE threshold of 7.5% versus a PRS threshold of greater than 80% to predict future events
Figure 1 Supplemental Here is the net reclassification of events and non events using PCE versus PRS
Figure 2 Supplemental Here is the proportion of individuals in each PCE risk class by age
Proportional Hazards Here is the demonstration cox PH is violated with typical model.
Cumulative Events Here I plot cumulative events by ACVD strata or by age.
Density Plots Here I show PRS distirbution for overall cohort, and for ours, with different scaling.
Lipid Plot Here I show detailed analysis of statin use by age of enrollment in the FOS.
Age of Menopause Plot Here I show detailed analysis of hazard ratios by sex in FOS and age of enrollment by menopause.
Sex Specific Thresholding Here I show detailed analysis of proportion of events assessed, Age of event, and AUC using females only.
Sex Specific Thresholding Here I show detailed analysis of the relationships between absolute and relative PRS in females only.
Sex Specific Thresholding Here I show detailed analysis of the relationships between absolute and relative PRS in males only.
We also have a variety of exlucsion tables and summary tables
Table 1 Here is the summary characterisitics of each cohort, and of division by ASCVD and PRS risk calss in the UK Biobank subset
Exclusions Here are the flowcharts of exclusionary criteria for creating the cohorts used in these analyses.