Inferring Adaptive Landscapes from Phylogenetic Trees
1. Inferring Adaptive Landscapes
from Phylogenetic Trees
Carl Boettiger
UC Davis
June 8, 2010
Carl Boettiger, UC Davis Adaptive Landscapes 1/52
2. Introduction: a Story of C. Boettiger and C. Martin
Background of Comparative Methods
Wrightscape: a nonlinear, forward approach
Carl Boettiger, UC Davis Adaptive Landscapes 2/52
3. A Story
Q}-< 04.09 == Q}-< | O}| L- f(x)dx ?
BM OU wtf == | O‘}|L-
Carl Boettiger, UC Davis Adaptive Landscapes 3/52
12. ______
O}-<
==
Carl Boettiger, UC Davis Adaptive Landscapes 12/52
13. ______
OL-
`}I
Carl Boettiger, UC Davis Adaptive Landscapes 13/52
14. Introduction: a Story of C. Boettiger and C. Martin
Background of Comparative Methods
Wrightscape: a nonlinear, forward approach
Carl Boettiger, UC Davis Adaptive Landscapes 14/52
15. Felsenstein’s question
Is brain size evolution
correlated to
body size evolution?
Carl Boettiger, UC Davis Adaptive Landscapes 15/52
16. Natural Selection or Shared Ancestry?
Carl Boettiger, UC Davis Adaptive Landscapes 16/52
17. Natural Selection or Shared Ancestry?
Carl Boettiger, UC Davis Adaptive Landscapes 16/52
18. Correcting for history: Correcting for branch length
Reasons species are similar:
Carl Boettiger, UC Davis Adaptive Landscapes 17/52
19. Correcting for history: Correcting for branch length
Reasons species are similar:
1
Same function – natural selection
Carl Boettiger, UC Davis Adaptive Landscapes 17/52
20. Correcting for history: Correcting for branch length
Reasons species are similar:
1
Same function – natural selection
2
Same ancestors – shared history
Carl Boettiger, UC Davis Adaptive Landscapes 17/52
21. Correcting for history: Correcting for branch length
Reasons species are similar:
1
Same function – natural selection
2
Same ancestors – shared history
Carl Boettiger, UC Davis Adaptive Landscapes 17/52
25. Expected divergence: unbiased model
10
5
TTHTTTTTTH =⇒ −6
TTHTTHHHTT =⇒ −2
0
Time
Carl Boettiger, UC Davis Adaptive Landscapes 18/52
26. Expected divergence: unbiased model
10
5
TTHTTTTTTH =⇒ −6
TTHTTHHHTT =⇒ −2
TTHTTHHHTH =⇒ 0
0
Time
Carl Boettiger, UC Davis Adaptive Landscapes 18/52
27. Independent Contrasts
11,6 5,1 4,1 10,5 4,1 5,1 11,6 10,5
Carl Boettiger, UC Davis Adaptive Landscapes 19/52
28. Contrasts are differences in independent branches
11,6 5,1 4,1 10,5
6
5 8,3.5 7,3
0
Tim e
Carl Boettiger, UC Davis Adaptive Landscapes 20/52
29. Contrasts are differences in independent branches
Sister taxa = easy contrasts:
11,6 5,1 4,1 10,5
6 11 − 5
√
2
5 8,3.5 7,3
0
Tim e
Carl Boettiger, UC Davis Adaptive Landscapes 20/52
30. Contrasts are differences in independent branches
Sister taxa = easy contrasts:
11,6 5,1 4,1 10,5
6 11 − 5
√
2
5 8,3.5 7,3
Interior node estimates:
11 + 5
=8
2
0
Tim e
Carl Boettiger, UC Davis Adaptive Landscapes 20/52
31. Contrasts are differences in independent branches
Sister taxa = easy contrasts:
11,6 5,1 4,1 10,5
6 11 − 5
√
2
5 8,3.5 7,3
Interior node estimates:
11 + 5
=8
2
0 Another set of contrasts:
Tim e
8−7
√
1+2×5
Carl Boettiger, UC Davis Adaptive Landscapes 20/52
32. < Watch the focus shift from the data to the model. . . >
Carl Boettiger, UC Davis Adaptive Landscapes 21/52
33. Estimating ancestral states and rates of change
11,6 5,1 4,1 10,5
6
5 (8, 3.5) (7, 3)
0 (7.5,3.75) ?
Tim e
Schluter et. al. (1997)
Carl Boettiger, UC Davis Adaptive Landscapes 22/52
34. Estimating ancestral states and rates of change
11,6 5,1 4,1 10,5
6 Expected ancestral states:
5 (8, 3.5) (7, 3) intermediate trait values
0 (7.5,3.75) ?
Tim e
Schluter et. al. (1997)
Carl Boettiger, UC Davis Adaptive Landscapes 22/52
35. Estimating ancestral states and rates of change
11,6 5,1 4,1 10,5
6 Expected ancestral states:
5 (8, 3.5) (7, 3) intermediate trait values
Expected rate of change:
0
matching the toss rate
Tim e
(7.5,3.75) ?
Schluter et. al. (1997)
Carl Boettiger, UC Davis Adaptive Landscapes 22/52
36. Estimating ancestral states and rates of change
11,6 5,1 4,1 10,5
6 Expected ancestral states:
5 (8, 3.5) (7, 3) intermediate trait values
Expected rate of change:
0
matching the toss rate
Tim e
(7.5,3.75) ?
Also estimates uncertainty
Schluter et. al. (1997)
Carl Boettiger, UC Davis Adaptive Landscapes 22/52
37. Changing Rates and Adaptive Radiations?
11,6 5,1 4,1 10,5
6
5 (8, 3.5) (7, 3)
Evidence that the
rates of evolution
are accelerating?
0 (7.5,3.75) ?
Tim e
Freckleton & Harvey (2006)
Carl Boettiger, UC Davis Adaptive Landscapes 23/52
38. < Are we taking the model too seriously? >
Carl Boettiger, UC Davis Adaptive Landscapes 24/52
39. Differing rates between clades?
9 11 2 21
O’Meara et. al. (2006)
Carl Boettiger, UC Davis Adaptive Landscapes 25/52
40. Differing rates between clades?
9 11 2 21
O’Meara et. al. (2006)
Carl Boettiger, UC Davis Adaptive Landscapes 26/52
41. Differing rates between clades?
9 11 2 21
O’Meara et. al. (2006)
Carl Boettiger, UC Davis Adaptive Landscapes 27/52
43. Evolutionary questions thus far
(Brownian Motion)
1 Correlated trait evolution
Carl Boettiger, UC Davis Adaptive Landscapes 28/52
44. Evolutionary questions thus far
(Brownian Motion)
1 Correlated trait evolution
2 Rate of trait evolution over time
Carl Boettiger, UC Davis Adaptive Landscapes 28/52
45. Evolutionary questions thus far
(Brownian Motion)
1 Correlated trait evolution
2 Rate of trait evolution over time
3 Changes in the rate of evolution over time
Carl Boettiger, UC Davis Adaptive Landscapes 28/52
46. Evolutionary questions thus far
(Brownian Motion)
1 Correlated trait evolution
2 Rate of trait evolution over time
3 Changes in the rate of evolution over time
4 Differing rates between clades
Carl Boettiger, UC Davis Adaptive Landscapes 28/52
47. Wait wait, where’d the selection go?
The Adaptive Landscape of Brownian Motion:
Carl Boettiger, UC Davis Adaptive Landscapes 29/52
48. Wait wait, where’d the selection go?
The Adaptive Landscape of Brownian Motion:
Carl Boettiger, UC Davis Adaptive Landscapes 29/52
49. OU Model: some selection
Hansen (1997)
Butler & King (2004)
Harmon (2008)
Carl Boettiger, UC Davis Adaptive Landscapes 30/52
50. Evolutionary questions thus far
(BM & OU)
1 Correlated trait evolution
2 Rate of trait evolution over time
3 Changes in the rate of evolution over time
4 Differing rates between clades
Carl Boettiger, UC Davis Adaptive Landscapes 31/52
51. Evolutionary questions thus far
(BM & OU)
1 Correlated trait evolution
2 Rate of trait evolution over time
3 Changes in the rate of evolution over time
4 Differing rates between clades
5 Strength of stablizing selection
Carl Boettiger, UC Davis Adaptive Landscapes 31/52
52. Evolutionary questions thus far
(BM & OU)
1 Correlated trait evolution
2 Rate of trait evolution over time
3 Changes in the rate of evolution over time
4 Differing rates between clades
5 Strength of stablizing selection
6 Peak location of stablizing selection
Carl Boettiger, UC Davis Adaptive Landscapes 31/52
53. A closer look at data and model
11 5 4 10
6
5 8 7
0 7.5
Tim e
Carl Boettiger, UC Davis Adaptive Landscapes 32/52
54. What’s wrong with this picture?
data
5 8 11
predicted trait
for most of tree
Carl Boettiger, UC Davis Adaptive Landscapes 33/52
55. Multiple adaptive peaks: the need for nonlinear models
BM fails to explain clustering
11 5 4 10
6
5 8 7
0 7.5
Tim e
Carl Boettiger, UC Davis Adaptive Landscapes 34/52
56. Multiple adaptive peaks: the need for nonlinear models
BM fails to explain clustering
11 5 4 10
6
5 8 7
OU = single peak
0 7.5
Tim e
Carl Boettiger, UC Davis Adaptive Landscapes 34/52
57. Multiple adaptive peaks: the need for nonlinear models
BM fails to explain clustering
11 5 4 10
6
5 8 7
OU = single peak
0 7.5
Tim e
Nonlinear selection gradients
Carl Boettiger, UC Davis Adaptive Landscapes 34/52
58. Problem: Models with funny sounding physics
names aren’t very biological
Carl Boettiger, UC Davis Adaptive Landscapes 35/52
59. Problem: Models with funny sounding physics
names aren’t very biological
Solution: Stop using silly physics models
Carl Boettiger, UC Davis Adaptive Landscapes 35/52
60. Introduction: a Story of C. Boettiger and C. Martin
Background of Comparative Methods
Wrightscape: a nonlinear, forward approach
Carl Boettiger, UC Davis Adaptive Landscapes 36/52
66. Inferred landscape: multiple peaks
exp(-(log(x) - k1)^2/(2 * sigma)) + exp(-(log(x) - k2)^2/(2 *
sigma)) + exp(-(log(x) - k3)^2/(2 * sigma))
0.7 0.8 0.9 1.0
12 15 18 20 24 25 30 35
x
Tree reveals three-peaked adaptive landscape hidden in raw
data
Carl Boettiger, UC Davis Adaptive Landscapes 41/52
67. Nonlinear Models and the Forward Approach
How do we do this and why hasn’t it been done yet?
Carl Boettiger, UC Davis Adaptive Landscapes 42/52
68. Three loops
1 Simulate on tree many times
L(θ1 , θ2 |x)
BM, OU, peaks,
dXt = f (Xt )dt + g(Xt )dBt
Carl Boettiger, UC Davis Adaptive Landscapes 43/52
69. Three loops
1 Simulate on tree many times
generate probability distribution at
each tip
Compare to character trait data of
each tip to generate a likelihood
score for the parameters.
L(θ1 , θ2 |x)
BM, OU, peaks,
dXt = f (Xt )dt + g(Xt )dBt
Carl Boettiger, UC Davis Adaptive Landscapes 43/52
70. Three loops
1 Simulate on tree many times
generate probability distribution at
each tip
Compare to character trait data of
each tip to generate a likelihood
score for the parameters.
2 Search over parameters by
simulated annealing with MCMC
L(θ1 , θ2 |x)
BM, OU, peaks,
dXt = f (Xt )dt + g(Xt )dBt
Carl Boettiger, UC Davis Adaptive Landscapes 43/52
71. Three loops
1 Simulate on tree many times
generate probability distribution at
each tip
Compare to character trait data of
each tip to generate a likelihood
score for the parameters.
2 Search over parameters by
simulated annealing with MCMC
L(θ1 , θ2 |x)
3 Search over models: information
criteria
BM, OU, peaks,
dXt = f (Xt )dt + g(Xt )dBt
Carl Boettiger, UC Davis Adaptive Landscapes 43/52
72. Three loops
1 Simulate on tree many times
generate probability distribution at
each tip
Compare to character trait data of
each tip to generate a likelihood
score for the parameters.
2 Search over parameters by
simulated annealing with MCMC
L(θ1 , θ2 |x)
3 Search over models: information
criteria
BM, OU, peaks,
dXt = f (Xt )dt + g(Xt )dBt Computationally demanding?
Carl Boettiger, UC Davis Adaptive Landscapes 43/52
74. Fly or Paddle? Fin morphology predicts niche
High aspect ratio: fast
Low aspect ratio: fast turns
sustained swimming
122 species phylogenetic tree with fin aspect ratio and fin angle.
Collar et. al. (2008)
Carl Boettiger, UC Davis Adaptive Landscapes 45/52
75. Jaws! Suck or Crush?
Collar et. al. (2008)
Carl Boettiger, UC Davis Adaptive Landscapes 46/52
76. morphology predicts niche?
How many peaks? Where? How wide or steep? How deep are
valleys? Transitions between peaks? Emergence of peaks?
Carl Boettiger, UC Davis Adaptive Landscapes 47/52
80. Bounded Evolution in Adaptive Radiations
Brownian Motion with soft boundaries – a Landscape view:
Carl Boettiger, UC Davis Adaptive Landscapes 50/52
81. Species Interactions and Community Phylogenetics
Carl Boettiger, UC Davis Adaptive Landscapes 51/52
82. Thanks!
O}-<
Q}-<
Carl Boettiger, UC Davis Adaptive Landscapes 52/52