View source: R/getBranchTimes.R
getBranchTimes | R Documentation |
ouch
Tree
Extracts the time from root of each node in an ouchtree
or hansentree
formatted phylogenetic tree; used to compute the timing of regime shifts in a Hansen model
getBranchTimes(h)
h |
Fitted |
A vector of branching times
Travis Ingram
Ingram, T. & Mahler, D.L. (2013) SURFACE: detecting convergent evolution from comparative data by fitting Ornstein-Uhlenbeck models with stepwise AIC. Methods in Ecology and Evolution 4: 416-425.
data(surfaceDemo)
tree<-surfaceDemo$tree
dat<-surfaceDemo$sim$dat
olist<-convertTreeData(tree,dat)
otree<-olist[[1]]
getBranchTimes(otree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.