Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


phylodyn (version 0.9.0)

plot_mrw: Plot Mean Relative Widths

Description

Plot Mean Relative Widths

Usage

plot_mrw(BNPR_outs, traj = NULL, xlim = NULL, ylim = NULL, nbreaks = 40,
  ltys = 1, lwds = 2, cols = "black", xlab = "Time", xmarline = 3,
  axlabs = NULL, ymin_zero = FALSE, ylab = "Mean Relative Width",
  main = "", heatmaps = TRUE, heatmap_labels = FALSE,
  heatmap_labels_side = "right", heatmap_width = 7, legends = NULL,
  legend_place = "topleft", legend_cex = 1, bty = "n", ...)

Arguments

BNPR_outs
one or more outputs of BNPR or BNPR_PS.
traj
function summarizing the true effective population size trajectory.
xlim
numeric x-axis interval.
ylim
numeric y-axis interval.
nbreaks
integer number of bins for sampling heatmap.
ltys
line types for estimated trajectories.
lwds
line widths for estimated trajectories.
cols
colors for estimated trajectories.
xlab
character x-axis label.
xmarline
numeric if not using default x-axis labels, how far to put the labels from the axis.
axlabs
character vector x-axis labels.
ymin_zero
logical
ylab
character y-axis label.
main
character main plot title.
heatmaps
boolean whether to display sampling and coalescent heatmaps.
heatmap_labels
boolean whether to display labels on heatmaps.
heatmap_labels_side
string which side of plot to display heatmaps.
heatmap_width
numeric how wide heatmaps should be.
legends
character legend texts.
legend_place
character location of legend pane. See legend().
legend_cex
numeric expansion factor for legend pane.
bty
integer box type. See legend().
...
additional arguments to be passed onto plot().