Learn R Programming

orthGS (version 0.1.6)

coltips: Colouring Tree Tips

Description

Make a color vector for colouring tree tips

Usage

coltips(phy)

Value

a color vector as long as the number of tips

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).

Examples

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

Run the code above in your browser using DataLab