HGTplot: Visualize results form simHGT

View source: R/HGTplot.R

HGTplotR Documentation

Visualize results form simHGT

Description

Visualize results form simHGT

Usage

HGTplot(sim, main = "Trait Evolution", cex = 1.5, lwd = 2,
  pch = 16, ...)

Arguments

sim

Simulation output from simHGT

main

title of plot

cex

cex applied across plot, points and lines.

lwd

line width

pch

point choice, see plot

...

optional input arguments for plot

Examples

library(phylofactor)

set.seed(5)
tree <- rtree(5)
sim <- simHGT(tree,0.3)
par(mfrow=c(2,1))
plot.phylo(tree)
HGTplot(sim,lwd=2,main='HGT Dynamics')

reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.