Learn R Programming

sequoia (version 2.0.7)

PlotAgePrior: Plot age priors

Description

visualise the age-difference based prior probability ratios as a heatmap

Usage

PlotAgePrior(AP = NULL, legend = TRUE)

Arguments

AP

matrix with age priors (P(A|R)/P(A)) with age differences in rows and relationships in columns; by default M: maternal parent (mother), P: paternal parent (father), FS: full siblings, MS: maternal siblings (full + half), PS: paternal siblings.

legend

if TRUE, a new plotting window is started and layout is used to plot a legend next to the main plot. Set to FALSE if you want to add it as panel to an existing plot (e.g. with par(mfcol=c(2,2))).

Value

a heatmap

See Also

MakeAgePrior, SummarySeq

Examples

Run this code
# NOT RUN {
PlotAgePrior(SeqOUT$AgePriors)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab