coltips: Colouring Tree Tips

View source: R/parseRec.R

coltipsR Documentation

Colouring Tree Tips

Description

Make a color vector for colouring tree tips

Usage

coltips(phy)

Arguments

phy

tree as a phylo object

Details

Each tip is given a color according to the nature of the isoform: green (GS2), blue (GS1a), brown (GS1b Gym), salmon (GS1b Ang), purple (other).

Value

a color vector as long as the number of tips

Examples

coltips(ape::read.tree(text = "((Bdi, Sly), (Pp, Ap));"))

orthGS documentation built on June 8, 2025, 12:37 p.m.