Skip to contents

Full pipeline

Run the complete analysis, from importing the genotyping data to saving the posterior probabilities and plots, in a single call.

MalReBay()
Run the MalReBay malaria recrudescence classification pipeline

Pipeline steps

Run the individual stages of the analysis separately, for example to inspect intermediate results or to rerun the classification with different settings.

import_data()
Import Genotyping Data from Excel
classify_infections()
Classify malaria infections using Bayesian MCMC
summarise_results()
Summarise MCMC Classification Results
save_results()
Save Classification Results and Generate Plots

Data quality checks

Check whether the imported data are suitable for the analysis.

data_quality_check()
Check dataset viability per site
compute_locus_comparability()
Compute locus comparability per patient
detect_msp_variants()
Identify which locinames belong to the MSP1/MSP2 families

Convergence diagnostics

Assess whether the MCMC sampling has converged before interpreting the results.

check_mcmc_diagnostics()
Check MCMC sampler diagnostics and report plain-language guidance
plot_likelihood_diagnostics()
Plot MCMC Likelihood Diagnostics

Plots

Visualise the input data and the classification results.

plot_probability_histogram()
Plot Posterior Probability Histogram
plot_comparison_heatmap()
Plot Match-Counting vs MalReBay Comparison Heatmap
plot_moi()
Plot Multiplicity of Infection (MOI)
plot_markers_diversity()
Generate and Save Diversity Pie Charts
plot_allele_distribution()
Plot Allele Distribution