plotShifts: plotShifts

Description Usage Arguments Details

View source: R/plotShifts.R

Description

Plots the locations of the origins of scalars from the postprocessor output of bayestraits.

Usage

1
plotShifts(PP, plot.options = list(), ...)

Arguments

PP

The output of the rjpp function.

plot.options

A list of control options. See details.

...

Additional arguments passed to plotPhylo

Details

The default behaviour of plotShifts depends on the transformations present in the rjpp output. If variable rates, then 3 trees will be plotted: the first has branches coloured according the log of the mean rate, the second shows all node scalars present more than once in the posterior, coloured according to the mean log rate and the third shows the same for branch scalars. If delta, kappa or lambda are present then a single tree is plotted showing all nodes that receive a scalar, coloured according to mean magnitude. If multiple transformations are present then the user will be prompted to select one. The plot.options list provides a high degree of control over what is plotted, allowing the default behaviour to be customised. The options, and values that they can take, are as follows.


hferg/BTprocessR documentation built on March 8, 2020, 11:45 a.m.