detecting evolutionary regime shifts with comparative phylogenetics

97
Introduction Parrotfish: a story A new method Challenges Opportunities Detecting evolutionary regime shifts with comparative phylogenetics @cboettig Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 1/61

Upload: carl-boettiger

Post on 17-Dec-2014

650 views

Category:

Education


2 download

DESCRIPTION

Talk presented at Evolution 2012 conference in the SSB Symposium: "New phylogeneticmethods for quantitativetrait evolution"

TRANSCRIPT

Page 1: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Detecting evolutionaryregime shifts with

comparativephylogenetics

@cboettig

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 1/61

Page 2: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Once upon a time. . .

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 2/61

Page 3: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogeny was a nuisance.

something we “corrected for”

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 3/61

Page 4: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogeny was a nuisance.

something we “corrected for”

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 3/61

Page 5: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Then we turned our attention to the parameters

σ2

α

θ

λ

κ

δ

Diversification

Stabilizing selection

Adaptive Optimum

phylogenetic signal

speciational change

accelerating / decelerating rates

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 4/61

Page 6: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Then we turned our attention to the parameters

σ2

α

θ

λ

κ

δ

Diversification

Stabilizing selection

Adaptive Optimum

phylogenetic signal

speciational change

accelerating / decelerating rates

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 4/61

Page 7: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

The parameters were allowed to change,

we became interestedin where the changes occur.

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 5/61

Page 8: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

The parameters were allowed to change, we became interestedin where the changes occur.

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 5/61

Page 9: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Regime

Shifts

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 6/61

Page 10: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

The (Updated) Phylogeny of Phylogenetic Models

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 7/61

Page 11: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Outline

1 A Method:

Detecting a release of constraint2 Challenges: The edge of identifiability3 Opportunities: Large, synthetic data sets

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 8/61

Page 12: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Outline

1 A Method: Detecting a release of constraint

2 Challenges: The edge of identifiability3 Opportunities: Large, synthetic data sets

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 8/61

Page 13: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Outline

1 A Method: Detecting a release of constraint2 Challenges:

The edge of identifiability3 Opportunities: Large, synthetic data sets

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 8/61

Page 14: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Outline

1 A Method: Detecting a release of constraint2 Challenges: The edge of identifiability

3 Opportunities: Large, synthetic data sets

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 8/61

Page 15: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Outline

1 A Method: Detecting a release of constraint2 Challenges: The edge of identifiability3 Opportunities:

Large, synthetic data sets

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 8/61

Page 16: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Outline

1 A Method: Detecting a release of constraint2 Challenges: The edge of identifiability3 Opportunities: Large, synthetic data sets

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 8/61

Page 17: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

A key innovation?

This guy These fish

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 9/61

Page 18: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

A key innovation?

This guy

These fish

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 9/61

Page 19: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

A key innovation?

This guy These fish

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 9/61

Page 20: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 10/61

Page 21: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Fish Suck

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 11/61

Page 22: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Fish Suck

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 12/61

Page 23: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 13/61

Page 24: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

These fish don’t suck

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 14/61

Page 25: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 15/61

Page 26: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 16/61

Page 27: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 17/61

Page 28: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Did this innovationrelease the constraints

of suction feeding?

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 18/61

Page 29: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

. . . and release a burst of jaw evolution?

Wrasses

IntramandibularJoint

Pharyngeal Jaw

Parrotfish

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 19/61

Page 30: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

An evolutionary regime shift?

a large change in the model parameters

In which parameters?

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 20/61

Page 31: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

An evolutionary regime shift?

a large change in the model parametersIn which parameters?

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 20/61

Page 32: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Candidate models

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 21/61

Page 33: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Unconstrained Evolution

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 22/61

Page 34: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Constrained Evolution

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 23/61

Page 35: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Release of constraint

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 24/61

Page 36: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Accelerating rates

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 25/61

Page 37: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

-2

-1

0

1

2

0 20 40 60 80 100time

trai

t va

lue

Brownian Motion

-2

-1

0

1

2

0 20 40 60 80 100time

trai

t va

lue

Ornstein-Uhlenbeck

-2

-1

0

1

2

0 20 40 60 80 100time

trai

t va

lue

Accelerated Evolution

-2

-1

0

1

2

0 20 40 60 80 100time

trai

t va

lue

Release of Constraint

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 26/61

Page 38: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 27/61

Page 39: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 28/61

Page 40: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 29/61

Page 41: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

XT1 = X0︸︷︷︸where you start

e−α1T1+

θ1(1 − e−α1T1

)︸ ︷︷ ︸Where you are going

+

∫ T1

0σ1e

α1(s−T1)dWs︸ ︷︷ ︸Random shocks along the way

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 30/61

Page 42: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

XT1 = X0︸︷︷︸where you start

e−α1T1+

θ1(1 − e−α1T1

)︸ ︷︷ ︸Where you are going

+

∫ T1

0σ1e

α1(s−T1)dWs︸ ︷︷ ︸Random shocks along the way

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 30/61

Page 43: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

XT2 = X1︸︷︷︸where you were

e−α2T2+

θ2(1 − e−α2T2

)︸ ︷︷ ︸

possibly new optimum

+

∫ T2

T1σ2e

α2(s−T2)dWs︸ ︷︷ ︸possibly new shocks

γi = −n∑

j=i+1αjtj

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 31/61

Page 44: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

XT2 = X1︸︷︷︸where you were

e−α2T2+

θ2(1 − e−α2T2

)︸ ︷︷ ︸

possibly new optimum

+

∫ T2

T1σ2e

α2(s−T2)dWs︸ ︷︷ ︸possibly new shocks

γi = −n∑

j=i+1αjtj

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 31/61

Page 45: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

XT2 = X1︸︷︷︸where you were

e−α2T2+

θ2(1 − e−α2T2

)︸ ︷︷ ︸

possibly new optimum

+

∫ T2

T1σ2e

α2(s−T2)dWs︸ ︷︷ ︸possibly new shocks

γi = −n∑

j=i+1αjtj

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 31/61

Page 46: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Generalized OU model

XN =n∑i=0

eγi

[θi(1 − eαiti

)+

∫ ti

0σie

αi(s−ti)dW is

]

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 32/61

Page 47: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Some Mathematical Conveniences

Gaussian process! Need onlyE(Xi) and Cov(Xi, Xj)Evolution on different branches isindependent

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 33/61

Page 48: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Some Mathematical Conveniences

Gaussian process!

Need onlyE(Xi) and Cov(Xi, Xj)Evolution on different branches isindependent

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 33/61

Page 49: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Some Mathematical Conveniences

Gaussian process! Need onlyE(Xi) and Cov(Xi, Xj)

Evolution on different branches isindependent

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 33/61

Page 50: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Some Mathematical Conveniences

Gaussian process! Need onlyE(Xi) and Cov(Xi, Xj)Evolution on different branches isindependent

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 33/61

Page 51: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Averaging removes the random shocks

E(Xi) =n∑i=0

eγi

[θi(1 − eαiti

) ]

Itô Isometry makes stochastic integrals intoregular integrals!

E(∫f(Xi)dWi ×

∫f(Xj)dWj)

Cov(Xi, Xj) =n∑i=1

[eγi

∫ ti

0σie

αi(u−ti)dW iu

m∑j=1

[eγ

′j

∫ sj

0σ′je

α′j(v−sj)dW j

v

]

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 34/61

Page 52: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Averaging removes the random shocks

E(Xi) =n∑i=0

eγi

[θi(1 − eαiti

) ]

Itô Isometry makes stochastic integrals intoregular integrals!

E(∫f(Xi)dWi ×

∫f(Xj)dWj)

Cov(Xi, Xj) =n∑i=1

[eγi

∫ ti

0σie

αi(u−ti)dW iu

m∑j=1

[eγ

′j

∫ sj

0σ′je

α′j(v−sj)dW j

v

]

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 34/61

Page 53: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Averaging removes the random shocks

E(Xi) =n∑i=0

eγi

[θi(1 − eαiti

) ]

Itô Isometry makes stochastic integrals intoregular integrals!

E(∫f(Xi)dWi ×

∫f(Xj)dWj)

Cov(Xi, Xj) =n∑i=1

[eγi

∫ ti

0σie

αi(u−ti)dW iu

m∑j=1

[eγ

′j

∫ sj

0σ′je

α′j(v−sj)dW j

v

]

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 34/61

Page 54: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Averaging removes the random shocks

E(Xi) =n∑i=0

eγi

[θi(1 − eαiti

) ]

Itô Isometry makes stochastic integrals intoregular integrals!

E(∫f(Xi)dWi ×

∫f(Xj)dWj)

Cov(Xi, Xj) =n∑i=1

[eγi

∫ ti

0σie

αi(u−ti)dW iu

m∑j=1

[eγ

′j

∫ sj

0σ′je

α′j(v−sj)dW j

v

]

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 34/61

Page 55: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Averaging removes the random shocks

E(Xi) =n∑i=0

eγi

[θi(1 − eαiti

) ]

Itô Isometry makes stochastic integrals intoregular integrals!

E(∫f(Xi)dWi ×

∫f(Xj)dWj)

Cov(Xi, Xj) =n∑i=1

[eγi

∫ ti

0σie

αi(u−ti)dW iu

m∑j=1

[eγ

′j

∫ sj

0σ′je

α′j(v−sj)dW j

v

]Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 34/61

Page 56: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Covariance matrix determines the likelihood

Cov(Xi, Xj) =k∑s=0

[eγs+γ′

sσ2s

2αs

(1 − e−2αsts

)]

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 35/61

Page 57: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

OUwie

Beaulieu et al. 2012, Evolution

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 36/61

Page 58: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

OUwie

Beaulieu et al. 2012, Evolution

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 36/61

Page 59: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Challenges

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 37/61

Page 60: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Where the sidewalk ends

Generalizing models any further,we will not have analytic likelihoods

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 38/61

Page 61: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 39/61

Page 62: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Limits of Identifiability?

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 40/61

Page 63: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Can our data support so many parameters?

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 41/61

Page 64: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

How do we choose between multiple complex models?

Before we can ask which is the right model,

we must ask if we have enough data to tell.

Information citeria don’t address this.

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 42/61

Page 65: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

How do we choose between multiple complex models?

Before we can ask which is the right model,we must ask if we have enough data to tell.

Information citeria don’t address this.

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 42/61

Page 66: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

How do we choose between multiple complex models?

Before we can ask which is the right model,we must ask if we have enough data to tell.

Information citeria don’t address this.

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 42/61

Page 67: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

How do we choose between multiple complex models?

Before we can ask which is the right model,we must ask if we have enough data to tell.

Information citeria don’t address this.

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 42/61

Page 68: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

AIC scores for four model comparisons

0 10 20 30 40 50

0.00

0.04

0.08

(a) BM vs. OU.3

δ

Den

sity

-10 0 10 20 30

0.00

0.05

0.10

0.15

(b) OU.3 vs. OU.4

δ

Den

sity

0 50 100 150

0.00

0.01

0.02

0.03

0.04

(c) OU.3 vs. OU.15

δ

Den

sity

-5 0 5 10 15

0.00

0.05

0.10

0.15

0.20

(d) BM vs. OU.1

δ

Den

sity

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 43/61

Page 69: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

AIC scores for four model comparisons

0 10 20 30 40 50

0.00

0.04

0.08

(a) BM vs. OU.3

δ

Den

sity

False Pos (37%)False Neg (0%)

-10 0 10 20 30

0.00

0.05

0.10

0.15

(b) OU.3 vs. OU.4

δ

Den

sity

False Pos (43.75%)False Neg (8.25%)

0 50 100 150

0.00

0.01

0.02

0.03

0.04

(c) OU.3 vs. OU.15

δ

Den

sity

False Pos (47.75%)False Neg (0%)

-5 0 5 10 15

0.00

0.05

0.10

0.15

0.20

(d) BM vs. OU.1

δ

Den

sity

False Pos (19.95%)False Neg (76.65%)

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 44/61

Page 70: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

Simulate from

simple model →

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 45/61

Page 71: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

Simulate from

simple model →

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 46/61

Page 72: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

LogLik(simple)LogLik(complex)

Simulate from

simple model →

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 47/61

Page 73: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

LogLik(simple)LogLik(complex)

Simulate from

simple model →

Likelihood ratio

frequency

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 48/61

Page 74: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

LogLik(simple)LogLik(complex)

Simulate from

simple model →

Likelihood ratio

frequency

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 49/61

Page 75: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

LogLik(simple)LogLik(complex)

Simulate from

simple model →

Likelihood ratio

frequency

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 50/61

Page 76: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

LogLik(simple)LogLik(complex)

Simulate from

simple model →complex

model →

Likelihood ratio

frequency

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 51/61

Page 77: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Phylogenetic Monte Carlo

← Fits both models

to this data

LogLik(simple)LogLik(complex)

Simulate from

simple model →complex

model →

Likelihood ratio

frequency

Boettiger et al. 2012, Evolution, pmc R package

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 52/61

Page 78: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 53/61

Page 79: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 54/61

Page 80: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Software has madecomparative methodsubiquitous. . .

So how about data?

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 55/61

Page 81: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic Access to data

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 56/61

Page 82: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic Access to data

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 56/61

Page 83: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic Access to data

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 56/61

Page 84: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic Access to data

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 56/61

Page 85: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic access for everyone

Building tools, building communityFollow @ropensci for more

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 57/61

Page 86: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic access for everyone

Building tools, building communityFollow @ropensci for more

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 57/61

Page 87: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic access for everyone

Building tools, building community

Follow @ropensci for more

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 57/61

Page 88: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Programmatic access for everyone

Building tools, building communityFollow @ropensci for more

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 57/61

Page 89: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

A wealth of repositories

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 58/61

Page 90: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

and what about the Parrotfish?Was it a release of constraint after all?

Of course!

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 59/61

Page 91: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

and what about the Parrotfish?Was it a release of constraint after all?

Of course!

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 59/61

Page 92: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Conclusions

1 Can distinguish mechanisms such as release ofconstraint.

2 Pushing the limits of analytic solutions,3 and more worryingly, the limits of our data4 New and diverse data sources would alleviate, but not

solve these issues5 Continue to foster a community of data sharing and code

sharing

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 60/61

Page 93: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Conclusions

1 Can distinguish mechanisms such as release ofconstraint.

2 Pushing the limits of analytic solutions,

3 and more worryingly, the limits of our data4 New and diverse data sources would alleviate, but not

solve these issues5 Continue to foster a community of data sharing and code

sharing

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 60/61

Page 94: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Conclusions

1 Can distinguish mechanisms such as release ofconstraint.

2 Pushing the limits of analytic solutions,3 and more worryingly, the limits of our data

4 New and diverse data sources would alleviate, but notsolve these issues

5 Continue to foster a community of data sharing and codesharing

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 60/61

Page 95: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Conclusions

1 Can distinguish mechanisms such as release ofconstraint.

2 Pushing the limits of analytic solutions,3 and more worryingly, the limits of our data4 New and diverse data sources would alleviate, but not

solve these issues

5 Continue to foster a community of data sharing and codesharing

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 60/61

Page 96: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Conclusions

1 Can distinguish mechanisms such as release ofconstraint.

2 Pushing the limits of analytic solutions,3 and more worryingly, the limits of our data4 New and diverse data sources would alleviate, but not

solve these issues5 Continue to foster a community of data sharing and code

sharing

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 60/61

Page 97: Detecting evolutionary regime shifts with comparative phylogenetics

Introduction Parrotfish: a story A new method Challenges Opportunities

Acknowledgments

Jeremy BeaulieuPeter WainwrightGraham CoopPeter RalphBrian O’MearaDuncan TempleLangand many more Slides, source code, and more

http://carlboettiger.info

Carl Boettiger, UC Davis Detecting Evolutionary Regime Shifts 61/61