Plasmodium vivax molecular correction using Pv3Rs: a re-analysis of P. vivax
genetic data from the Vivax History (VHX) trial
(Chu et al. Clin. Infect. Dis. 67 (2018))
and the Best Primaquine Dose trial
(Chu et al. Clin. Infect. Dis. 68 (2018)).
The original analysis on which this re-analysis is based is described in
Taylor & Watson et al. Nat. Commun. 10 (2019).
The re-analysis uses original input and output in
jwatowatson-RecurrentVivax-4870715, which was downloaded from
zenodo.org/records/3368828, and from
MS_Final, which was saved as
MS_final_generated_by_running_all_chunks_of_Pooled_Analysis.Rmd in RData/
after running Pooled_Analysis.Rmd in
jwatowatson-RecurrentVivax-4870715/Pooled_Final_Analysis/.
-
Run
Compute_recurrent_states_Pv3Rs.R: takes several hours and generatesprior_estimates.RDataresults_Pv3Rs.RData
-
Run
Analysable_data.Rto generatetab_MOIs.csv(used to createtab_MOIs_edited.png)data_repeat_episode.pngdata_uncomputable.png
-
Run
Extract_and_plot_Pv3Rs.Rto generatemarg_results_Pv3Rs.RDatasimplex_Pv3Rs.png
-
Run
Extract_and_plot_prototype.Rto generatesimplex_prototype.pngcompare_Pv3Rs_vs_prototype.pngdata_Pv3Rs_vs_prototype.png
-
Run
Compute_FDR_Pv3Rs.Rto generate false discovery rates andRData/ys_null.RDataRData/probs_null.RDataRData/min_probs_null.RData
-
Run
Compare_joint_pwise_Pv3Rs.Rto generatecompare_joint_vs_pwise.pngdata_joint_vs_pwise.png
-
Run
Compute_null.Rto generateRData/nulls.RDataRData/quantiles_nulls.RData
-
Run
Compute_genetic_proximity.Rto generateRData/genetic_proximities.RData
-
Run
Plot_genetic_proximity.Rto- decide on genetic distance
- check superiority of Pv3Rs to the prototype
- Generate probability of failure among reinfection-classified
- Generate probability of reinfection among failure-classified
- Generate
Figures/compare_prob_prox.pdf - Generate
Figures/outlier_correction.pdf - Generate
data_outliers.png
-
Run
Compute_failure_rates.Rto generatecompare_failure_rates.png
- To better understand data input and estimates generated by the prototype (can
be skipped), run the
Understanding_*.R scripts, noting thatUnderstanding_priors.Rrequiresprior_estimates.RDatato be first generated by runningCompute_recurrent_states_Pv3Rs.R.
In no particular order:
Cherry_picked_examples.Rgeneratescherries.png.Plot_site_freq_spectrum.Rto plot per-marker SFS ordered by marker cardinality. Nothing notable to report: SFS are remarkable similar.Check_prior_conversion.Rto assess the accuracy of prior conversion given access to only marginal probabilities.Check_markers_typed.Rto check the assertion that additional 6 markers typed if matches seen a > 1/3 first three markers.Compare_failure_recur_independence.Rto see the impact of computing probabilities of failure assuming and not independence between recurrencesVisualise_follow_up.Rto see how first recurrences recover follow up protocolChance_matching.Rto see how probabilities assuming iid draws compare with Dcifer relatedness estimates and Pv3Rs posteriors.