Learn R Programming

phylotools (version 0.1.2)

phyloshuffle: Tip label shuffling of a phylogenetic tree

Description

Internal function used in phylotools.

Usage

phyloshuffle(tree)

Arguments

tree
Phylogenetic tree

Value

Randomized phylogenetic tree

Details

Shuffle the phylogenetic tips

Examples

Run this code

data(bird.orders)
par(mfrow = c(1,2))
plot(bird.orders)
rand <- phyloshuffle(bird.orders)
plot(rand)

Run the code above in your browser using DataLab