Learning Objectives This week, students will:

  • work with newick Files
  • access and list the elements of a phylo object
  • obtain phylogenetic data from the Open Tree of Life

Practice Objectives

  • Exploring the structure of an object
  • plot phylogenies with ape::plot.phylo() and ggtree::ggtree()
  • customize phylogenetic plots with ggtree::ggtree()
  • understand the relationship between lists and the phylo class as data structures.

Non Objectives

  • simulate phylogenies
  • get dated phylogenies using datelife

Setup your RStudio project (5 min)

Review (10 min)

Both of these phylogenetic trees shows the relationship of the three domains of life (Bacteria, Archaea, and Eukarya), but the (a) rooted tree attempts to identify when various species diverged from a common ancestor, while the (b) unrooted tree does not.

Caption from original Figure 20.1𝐴.1 of LibreTexts

The Open Tree of Life platform (10 min)

Reading trees into R with read.tree()(10 min)

Plot a phylogeny with the package ape (5 min)

Getting trees with specific taxa from OpenTree