jarawees / covidmodel-hitap

0 stars 0 forks source link

tidy up functions for conversion between antibody vs. vaccine efficacy #10

Open yangclaraliu opened 1 year ago

yangclaraliu commented 1 year ago

key output:

  1. cut off for L, M, H
  2. percentage transition for v_b and v_p
yangclaraliu commented 1 year ago
yangclaraliu commented 1 year ago
yangclaraliu commented 1 year ago
yangclaraliu commented 1 year ago
yangclaraliu commented 1 year ago

meeting planned for in the next 1-2 weeks

yangclaraliu commented 1 year ago

setting up thresholds for L, M, and H

jarawees commented 1 year ago

@yangclaraliu This code chunk is used for converting NAb fold (of vaccine to convalescent) to vaccine efficacy against infection/mild disease by: 1) Use mean and SE of NAb fold from meta-analysis to stimulate 1000 NAb fold values for each vaccine combo (assumed normal distribution), store those stimulated values in _tbl_ab_ratiorandom 2) Convert NAb fold values from 1) to vaccine efficacy using vx_efficacy function (with covariate matrix from Deborah's email), store vaccine efficacy results in _tbl_vx_eff_montecarlo

https://github.com/jarawees/covidmodel-hitap/blob/17420d293093089a2e72fc6f2ff95645fe16d140/code/NAb_c19_meta_analysis_v3/NAb_c19_meta_analysis_v4.R#L339-L390

jarawees commented 1 year ago

Code chunk for plotting density figure of vaccine combo with NAb fold on the x-axis (using values from _tbl_ab_ratiorandom): https://github.com/jarawees/covidmodel-hitap/blob/17420d293093089a2e72fc6f2ff95645fe16d140/code/NAb_c19_meta_analysis_v3/NAb_c19_meta_analysis_v4.R#L407-L467

image

jarawees commented 1 year ago

Code chunk for plotting vaccine efficacy stratified by low, medium, and high NAb titre levels: https://github.com/jarawees/covidmodel-hitap/blob/7c40f30d2182ab097f8f9afe77a5286414d86ede/code/NAb_c19_meta_analysis_v3/NAb_c19_meta_analysis_v4.R#L501-L523

image Notes: