This function uses the particleDataFrame output by TreEvo ABC analyses and plots parent-offspring particles from generation to generation.

parentOffspringPlots(particleDataFrame)

Arguments

particleDataFrame

particleDataFrame output by TreEvo ABC analyses.

Value

Creates a set of parent-offspring plots.

Details

Each parameter is plotted twice for parent-offspring relationships through the generations. In the top row, particles are plotted as a measure of distance to the observed data; the farther away the particle the bigger the circle. In the bottom row, particles are plotted as a measure of their weights; larger circles are closer to observed data and therefore carry more weight in the analysis.

As of version 0.6.0, rejected particles are not saved for outputting by the parallelized algorithm, and thus they are no longer displayed by this function.

Author

Brian O'Meara and Barb Banbury

Examples

data(simRunExample) parentOffspringPlots(resultsBMExample[[1]]$particleDataFrame)