- reference
a dataframe of two-column genetic format data, proceeded by "repunit", "collection",
and "indiv" columns. Does not need "sample_type" column, and will be overwritten if provided
- mixture
a dataframe of two-column genetic format data. Must have the same structure as
reference
dataframe, but "collection" and "repunit" columns are ignored.
Does not need "sample_type" column, and will be overwritten if provided
- gen_start_col
the first column of genetic data in both data frames
- method
this must be "MCMC". "PB" and "BH" are no longer supported in this function.
- reps
the number of iterations to be performed in MCMC
- burn_in
how many reps to discard in the beginning of MCMC when doing the mean calculation.
They will still be returned in the traces if desired.
- sample_int_Pi
the number of reps between samples being taken for pi traces. If 0
no traces are taken. Only used in methods "MCMC" and "PB".
- sample_int_PofZ
the number of reps between samples being taken for the posterior
traces of each individual's collection of origin. If 0 no trace samples are taken.
Used in all methods
- sample_int_omega
the number of reps between samples being taken for
collection proportion traces. If 0 no traces are taken. Only used in method "BH"
- sample_int_rho
the number of reps between samples being taken for
reporting unit proportion traces. If 0 no traces are taken. Only used in method "BH"
- sample_int_PofR
the number of reps between samples being taken for the posterior
traces of each individual's reporting unit of origin. If 0 no trace samples are taken.
Only used in method "BH".