Supplement 1. Source code for DOT test.
readme.txt - Instructions to install and run scripts
dot.R - main R script for DOT test
picfixed.R - R function required by DOT
trancml - awk script that runs ancml and formats output for dot.R
phylo - sample phylogeny file
traits - sample traits file
dot.zip - all files at once
This set of scripts, written in R and awk, together with Schluter et al.'s ancml program, will run the DOT test presented in this publication. Sample files (phylo and traits) are also provided. See readme.txt for a full description and instructions for use.