configShow: Plot a tree highlighting configurations

View source: R/configShow.R

configShowR Documentation

Plot a tree highlighting configurations

Description

Plot a tree, highlighting configurations of a given size.

Usage

configShow(tree, configSize, mainCol = "black", configCol = "red", ...)

Arguments

tree

a tree of class phylo4

configSize

an integer giving the configuration size of interest

mainCol

colour for branches which are not in configurations of the chosen size (default is black)

configCol

colour for branches which are in such configurations (default is red)

...

further arguments to be passed to plot.phylo

Value

A plot of the tree, highlighting the configurations of the given size.

Author(s)

Michelle Kendall michelle.louise.kendall@gmail.com

Michael Boyd mboyd855@gmail.com

Examples

## Highlight pitchforks in a random tree with 20 tips:
configShow(rtree(20),3, edge.width=2)


MichelleKendall/phyloTop documentation built on Feb. 1, 2023, 8:07 a.m.