powered by
Draw phylogenetic tree
spiral_phylo(obj, gp = gpar(), log = FALSE, reverse = FALSE, group = NULL, group_col = NULL, track_index = current_track_index())
Height of the phylogenetic tree.
A phylo object.
phylo
Graphics parameters of the tree edges.
Whether the height of the tree should be log-transformed (log10(x + 1))?
Whether the tree should be reversed?
A categorical variable for splitting the tree.
A named vector which contains group colors.
Index of the track.
require(ape) data(bird.families) n = length(bird.families$tip.label) spiral_initialize(xlim = c(0, n), start = 360, end = 360*3) spiral_track(height = 0.8) spiral_phylo(bird.families)
Run the code above in your browser using DataLab