parentOffspringPlots: Plotting Parent-Offspring Particles

View source: R/parentOffspringPlots.R

parentOffspringPlotsR Documentation

Plotting Parent-Offspring Particles

Description

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

Usage

parentOffspringPlots(particleDataFrame)

Arguments

particleDataFrame

particleDataFrame output by TreEvo ABC analyses.

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.

Value

Creates a set of parent-offspring plots.

Author(s)

Brian O'Meara and Barb Banbury

Examples


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


bomeara/treevo documentation built on Aug. 19, 2023, 6:52 p.m.