powered by
This function takes an object of class 'phylo' and randomly changes the lengths of the leaves.
'phylo'
makeFossil(tree,p=0.5,ex=0.5)
The function produces a phylogeny having the same backbone of the original one.
a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous.
the proportion of tips involved. By default it is half of the number of tips.
the multiplying parameter to change the leaf lengths. It is set at 0.5 by default.
Pasquale Raia, Silvia Castiglione, Carmela Serio, Alessandro Mondanaro, Marina Melchionna, Mirko Di Febbraro, Antonio Profico, Francesco Carotenuto
data("DataApes") DataApes$Tstage->Tstage makeFossil(tree=Tstage)
Run the code above in your browser using DataLab