Lesson 18 — Reading trees with rotated nodes

BIO 202, Spring 2026, draft v1. The horizontal order of tips means nothing. Only the depth of splits means anything.

What you'll do

Rotate nodes to see the same tree differently. Find common ancestors. Disprove "more primitive." End at the Anolis tree.

The order of the tips is different, but this shows that humans and mice are the closest relatives. The individual patterns are the same throughout. These aren't showing a different pattern of relationship — they're just spun in a different way. Think of it like a mobile with things hanging off of it. You can spin the mobile, but things are still connected the same way.— 440_lec01_06

A — Rotate a node; the tree is the same

Click a node to flip its children. The tree's topology doesn't change. The list of tip names changes order.

Locked — confirm your name above to begin.

Scenario

5-tip tree: shark, tuna, lizard, mouse, human. The mouse and human are sister taxa. The lizard is sister to (mouse, human). The tuna is sister to (lizard, mouse, human). The shark is the outgroup. Rotate any node — the relationships don't change. Only the visual order.

Click any internal node to rotate

tip order (current):  |  rotations: 0

Prediction

  1. Q1. Click 5 different rotations. After each, ask yourself: "Did the tree change?" Then commit:
Make at least 5 rotations. 0/5 rotations

Controls

R code — Newick string is invariant under rotation

# The two Newick strings below represent the same tree:tree1 <- "(shark,(tuna,(lizard,(mouse,human))));"tree2 <- "((((human,mouse),lizard),tuna),shark);"# ape::all.equal.phylo(read.tree(text=tree1), read.tree(text=tree2)) returns TRUE

B — Find the most recent common ancestor

Five trees. For each, click the node that is the MRCA of the two highlighted tips. Track score.

Complete Stage A.

Scenario

The MRCA of two tips is found by tracing each tip back to the root until the two paths meet. The common ancestor is the deepest internal node both tips descend from. Many students try to go forward from one tip to the other — that doesn't work; you have to go back to the join.

Click the MRCA of the two crimson tips

round: 1/5  |  score: 0/0

Prediction

  1. Q1. Before you click, predict — to find the MRCA of two tips, do you:
Complete all 5 rounds to unlock Stage C. 0/5 rounds

Controls

R code — MRCA via ape

library(ape)tr <- read.tree(text="((A,B),(C,D));")getMRCA(tr, c("A","D"))   # root node

C — "Primitive?" — the trap

Given two living organisms, which is more primitive? Correct answer: neither. Both have been evolving for the same amount of time. Five rounds.

Complete Stage B.

Scenario

The instinct is to compare a living organism to humans (or another familiar form) and call the more-different one "primitive." This is wrong. Primitive only means "similar to a common ancestor at a specific trait." For two living taxa, evolution has continued in both for the same elapsed time. Neither is primitive overall.

Pick the answer

pair:  |  score: 0/0

Prediction

  1. Q1. Between a shark and a tuna, which is more primitive?
Complete all 5 rounds. 0/5 rounds

Controls

R code — there is no "primitive" function

# Two living species: branch lengths from MRCA to tip are equal under a molecular clock.# Neither is "more primitive" — they've each had the same elapsed time to evolve.

D — Anolis ecomorphs

Anolis lizards on Caribbean islands have repeatedly evolved the same ecomorphs (trunk-ground, twig, grass-bush, ...). Each ecomorph evolved independently on each island. The tree reveals this — similar-looking lizards are not sister taxa.

Complete Stage C.

Scenario

Schematic Anolis tree. Tip color = ecomorph. Notice that all "trunk-ground" lizards are not on the same branch — they're scattered. Each Caribbean radiation independently produced this body plan.

Anolis lineages and their ecomorphs

tips:  |  ecomorph categories:  |  independent origins per ecomorph:

Prediction

  1. Q1. Across Caribbean Anolis, how many independent origins of "trunk-ground" body plan do you expect?
Toggle ecomorph categories to count origins. 0/2 categories

Controls

R code — Anolis ecomorph origins

library(ape)tr <- read.tree("data/clean/anolis_tree.nwk")ecomorphs <- read.csv("data/clean/anolis_svl.csv")$ecomorph# Count independent state changes on the tree (parsimony)

E — Sister taxa share an ancestor. Branch length tells you how recently.

Topology answers "who is whose closest relative?". Branch length answers "how similar should they be?". Lesson 19 builds on this.

Complete Stage D.

Scenario

Take the same four-tip tree twice. Same topology, same sister relationships. Different branch lengths: in the "shallow" tree, every tip diverged from its sister recently; in the "deep" tree, the same sisters diverged much earlier. Trait values evolve under Brownian motion along each branch — variance accumulates with time.

Watch the trait scatter on the right. Same topology, same sister pairs. How correlated should sister trait values be in each case?

Same topology — two branch-length depths

depth scale: 1.0  |  sister-pair r (BM-simulated):

Prediction

  1. Q1. If two sister taxa diverged 1 million years ago, will their trait values be more or less similar than two sisters that diverged 10 million years ago?
  2. Q2. Two species share a most recent common ancestor at the same node in the tree. Does the topology alone tell you how similar their trait values should be?
Slide the depth across 3+ values. 0/3 depths

Controls

1.0
42

R code — BM on a tree

# Brownian motion along branches: trait variance accumulates with branch length.# Sister r ≈ shared / (shared + private), where shared = ancestor-to-MRCA# and private = MRCA-to-tip. Topology alone fixes the pairing; depth scales r.