figshare
Browse
1/1
4 files

Supplement 1. Code for tree-building R function, along with example data and code for use.

dataset
posted on 2016-08-10, 08:51 authored by Eric M. Lind, John B. Vincent, George D. Weiblen, Jeannine Cavender-Bares, Elizabeth T. Borer

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.

History