Eric M. Lind, John B. Vincent, George D. Weiblen, Jeannine Cavender-Bares, and Elizabeth T. Borer. 2015. Trophic phylogenetics: evolutionary influences on body size, feeding, and species associations in grassland arthropods. Ecology 96:998–1009. http://dx.doi.org/10.1890/14-0784.1


Supplement

Code for tree-building R function, along with example data and code for use.
Ecological Archives E096-088-S1.

Copyright


Authors
File list (downloads)
Description


Author(s)

Eric M. Lind
Department of Ecology, Evolution, and Behavior
University of Minnesota
St. Paul MN 55108
[email protected]

John B. Vincent
Plant Biological Sciences Graduate Program
University of Minnesota
St. Paul MN 55108

George D. Weiblen
Plant Biological Sciences Graduate Program
University of Minnesota
St. Paul MN 55108

Jeannine Cavender-Bares
Department of Ecology, Evolution, and Behavior
University of Minnesota
St. Paul MN 55108

Elizabeth T. Borer
Department of Ecology, Evolution, and Behavior
University of Minnesota
St. Paul MN 55108


File list

Supplement-tc2ape-script.R (MD5: 4d291f1a0c41b2e9f75dbb6c322105d0)   R function to build tree
Supplement-build-tree-script.R (MD5: 393ce10283ab945ed0cb151556d7c8fc)   example use of R function
Hemiptera-taxon-container.csv (MD5: 86b7e9fee0fe43aeefbdd8212ae1cbe9)   example data for R function

Description

The R function used to assemble hierarchical relationships ("trees") from workflow used in the manuscript is provided. The Hemiptera data set provided shows how data entry is organized in a simple two-column table, with all taxa and higher clades listed exactly once in the left column, and all higher nodes (non-tips) listed at least once in the right column. The "build-tree-script" demonstrates how the data set and custom function are combined in practice to produce a usable tree.