| compute_posterior | Compute posterior probabilities of _P. vivax_ recurrence states |
| determine_MOIs | Determine multiplicities of infection (MOIs) |
| enumerate_RGs | Enumerate relationship graphs (RGs) |
| fs_VHX_BPD | Allele frequencies computed using example _Plasmodium vivax_ data |
| plot_data | Plots the data |
| plot_RG | Plot a relationship graph (RG) |
| plot_simplex | Plots a 2D simplex |
| project2D | Project 3D probability coordinates onto 2D simplex coordinates |
| RG_to_igraph | Converts a relationship graph (RG) encoded as a list to an 'igraph' object |
| sample_RG | Sample a relationship graph (RG) |
| ys_VHX_BPD | Example _Plasmodium vivax_ data |