Skip to content

Instantly share code, notes, and snippets.

View hlapp's full-sized avatar

Hilmar Lapp hlapp

View GitHub Profile
@hlapp
hlapp / gist:999363
Created May 30, 2011 19:35
Dan Rabosky's code snipped on R-SIG-Phylo 3/30/2011
library(nlme);
library(ape);
## At the END of this script, I have appended the necessary functions
## and data. You can skip to the block of #### symbols and
## load everything into your workspace before using this script
# make dataframe
indata <- data.frame(x=xdata, y=ydata, row.names=tree$tip.label);