Download presentation

Presentation is loading. Please wait.

1
Brian OMeara Get out laptop, fire up R

2
install.packages("ctv") library(ctv) install.views("Phylogenetics") install.packages("corHMM")

3
Model selection

4

5
Likelihood ratio test test statistic = 2(ln L 1 - ln L 0 )

6
Likelihood ratio test

7
Posada and Crandal 1998 Likelihood ratio test

8
Akaike information criterion AIC i = -2 ln L i + k i Truth drops out as a constant -- Burnham and Anderson 2004 AIC is estimator as distance between truth and approximating model

9
Bayes Factors

10
Reversible jump MCMC Model 1 Model 2 Model 1

11
Organize by: QuestionMethod Correlation of herbivory with group living Crepuscular foraging being intermediate between nocturnal and diurnal Biogeography Causes of diversification Rate of trait evolution What limits the number of species Continuous time Markov Chain Birth death process Multivariate normal BiSSE and friends Tree stretching

12
Flour, sugar, egg, butter, leavening, liquid

13
Continuous time Markov chain finite state space A, T, G, C woody, herbaceous susceptible, infected, recovered herbivorous, omnivorous, carnivorous 0, 2, 4, 6, 8,..., 100 legs

14
Per day: What is probability of it leaving the store that day? If it leaves, what is the probability it was paid for? What is the probability it stays in the store two days? Action Bought by adult Bought by child Stolen Probability

15
Per t: Action Bought by adult Bought by child Stolen Probability 0.20 /scaling 0.10 /scaling 0.05 /scaling

16
Per t: Action Bought by adult Bought by child Stolen Rater adult r child r stolen

17
Per t: From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief

18
Per t: From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief Adult Child Thief

19
Per t: From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief Adultr adult-store -r adult-child r adult-thief Childr child-store r child-adult -r child-thief Thiefr thief-store r thief-adult r thief-child -

20
From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief Adultr adult-store -r adult-child r adult-thief Childr child-store r child-adult -r child-thief Thiefr thief-store r thief-adult r thief-child - From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief Adultr adult-store -r adult-child r adult-thief Childr child-store r child-adult -r child-thief Thiefr thief-store r thief-adult r thief-child - Does the store ever get Twinkies back? [Do people return Twinkies for a refund?] H 0 : r *-store = 0 H 1 : r *-store > 0

21
From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief Adultr adult-store -r adult-child r adult-thief Childr child-store r child-adult -r child-thief Thiefr thief-store r thief-adult r thief-child - Do adults give to kids at the same rate kids give to adults? H 0 : r child-adult = r adult-child H 1 : r child-adult r adult-child

22
ABCD A-r AB r AC r AD Br BA -r BC r BD Cr CA r CB -r CD Dr DA r DB r DC - Hypotheses about rates for a single character (are some equal? are some zero?) Hypotheses about correlation between characters Tree inference Ancestral state inference From this basic model:

23
Continuous time Markov chain finite state space

24
Currie et al Nature

25

26
From \ To StoreAdultChildThief Store-r store-adult r store-child r store-thief Adultr adult-store -r adult-child r adult-thief Childr child-store r child-adult -r child-thief Thiefr thief-store r thief-adult r thief-child -

27
Currie et al Nature From \ To A (acephalous) sC (simple chiefdom) cC (complex chiefdom) S (state) A-r A-sC r A-cC r A-S sCr sC-A -r sC-cC r sC-S cCr cC-A r cC-sC -r cC-S Sr S-A r S-sC r S-cC -

28
Currie et al Nature From \ To A (acephalous) sC (simple chiefdom) cC (complex chiefdom) S (state) A-r A-sC r A-cC r A-S sCr sC-A -r sC-cC r sC-S cCr cC-A r cC-sC -r cC-S Sr S-A r S-sC r S-cC

29
Currie et al Nature From \ To A (acephalous) sC (simple chiefdom) cC (complex chiefdom) S (state) A-r A-sC r A-cC r A-S sCr sC-A -r sC-cC r sC-S cCr cC-A r cC-sC -r cC-S Sr S-A r S-sC r S-cC

30
Currie et al Nature From \ To A (acephalous) sC (simple chiefdom) cC (complex chiefdom) S (state) A-r A-sC r A-cC r A-S sCr sC-A -r sC-cC r sC-S cCr cC-A r cC-sC -r cC-S Sr S-A r S-sC r S-cC -

31
Currie et al Nature

32

33
From \ To A (acephalous) sC (simple chiefdom) cC (complex chiefdom) S (state) A-medsmall sCmed-largemed cCmedlarge-med S -

34
00 11 AA 00 11AA BB BB No sex play Yes sex play No social play Yes social play

35
From \ To 0A0A0B0B1B1B1A1A 0A0A-r0A-0Br0A-0B r0A-1Br0A-1B r0A-1Ar0A-1A 0B0Br0B-0Ar0B-0A -r0B-1Br0B-1B r0B-1Ar0B-1A 1B1Br1B-0Ar1B-0A r1B-0Br1B-0B -r1B-1Ar1B-1A 1A1Ar1A-0Ar1A-0A r1A-0Br1A-0B r1A-1Br1A-1B -

36
0A0A0B0B1B1B1A1A 0A0A-r0A-0Br0A-0B r0A-1Br0A-1B r0A-1Ar0A-1A 0B0Br0B-0Ar0B-0A -r0B-1Br0B-1B r0B-1Ar0B-1A 1B1Br1B-0Ar1B-0A r1B-0Br1B-0B -r1B-1Ar1B-1A 1A1Ar1A-0Ar1A-0A r1A-0Br1A-0B r1A-1Br1A-1B

37
00 11 AA 00 11AA BB BB No sex play Yes sex play No social play Yes social play

38
00 11 AA 00 11AA BB BB No sex play Yes sex play No social play Yes social play

39
Pagel 1994 From \ To0A0A0B0B1B1B1A1A 0A0A-r0A-0Br0A-0B 0r0A-1Ar0A-1A 0B0Br0B-0Ar0B-0A -r0B-1Br0B-1B 0 1B1B0r1B-0Br1B-0B -r1B-1Ar1B-1A 1A1Ar1A-0Ar1A-0A 0r1A-1Br1A-1B -

40

41
Barker & Pagel 2005

42

43

44

45

46
a 2ab 3bc 4cd 5de 6ef 7fg 8gh 9hi 10ij 11jk 12kl 13lm 14mn 15no 16o... up to maximum number of genes... where a, b, etc. are just f(i, j, birthdeath rate)

47
Ree & Smith 2008

48

49
Courtesy Nicolas Salamin

50
Joint: Choose values for x, y, z, w that together maximize likelihood

51
Marginal: Choose value for x (and repeat for others) that maximizes likelihood while integrating over all values for y, z, w

52
Joint: Choose values for x, y, z, w that together maximize likelihood Marginal: Choose value for x (and repeat for others) that maximizes likelihood while integrating over all values for y, z, w Henry Hargreaves

53
Finnigan, G. C., V. Hanson-Smith, T. H. Stevens, and J. W. Thornton Evolution of increased complexity in a molecular machine. Nature 481:360-U143.

54
Courtesy Nicolas Salamin

55
Equal: all states equally likely Empirical: count the proportion of each state in the tip taxa Fixed: make them up (ideally, based on knowledge) Equilibrium: what they'd be if the process ran forever This assumption can have a major effect on results

56
Schluter et al. 1997

57
Beaulieu, O'Meara, and Donoghue, 2013

58

59

60

61
Tree stretching

62

63
Continuous -r AB × tr AC × tr AD × t r BA × t-r BC × tr BD × t r CA × tr CB × t-r CD × t r DA × tr DB × tr DC × t- e ( ) Discrete

64
Lambda = multiply internal branch lengths

65
Delta = speed up or slow down

66
Kappa = raise each branch to kappa. Punctuational models

67
Eldredge and Gould 1971

68
¿=?

69
Schematic illustration of evolution of one phenotype on a phylogeny leading to three extant species. Cladogenetic change appears as vertical lines as it is modeled here as an instantaneous event on a geological time scale. Anagenetic change appears as Brownian motion of the phenotype on a logarithmic scale. S h indi- cates the speciation events that do not appear on a reconstructed phylogeny but did contribute to phenotypic evolution of the extant species, and S indicates a speciation event that can be ob- served in a reconstructed phylogeny. In the resulting branching Brownian motion, species E and F are separated by three speciation events of which two contributed to the phenotypic difference between E and F. F and G are separated by four events that all four contributed to the present phenotypic difference between F and G. Bokma 2008

70
Eldredge and Gould 1971 =

71
Two rate: apply different rate before and after some point (in this case, midpoint) 1 2 after 0.2 after

72
What questions can we answer with tree stretching?

73
H et er oge neity

74
Smith and Donoghue. Rates of Molecular Evolution Are Linked to Life History in Flowering Plants. Science (2008) Trees/sh rubs Herbs Substitutions/MY

75
Meredith et al. 2011, Science

76
OMeara 2012

77

78

79

80
Yang 1994

81
OMeara 2012

82
Pagel and Meade 2004 Familiar Mixture model Note: likely used a window, not mentioned, though

83
OMeara 2012

84

85
Tree stretching Heterogeneity Tree stretching + Heterogeneity Continuous methods Ysome Discrete methods Ynope

86
OMeara 2012

87
library(geiger) ?fitContinuous ?fitDiscrete #Look at some Geospiza examples. Is the rate of beak depth evolution dropping in Darwins finches? library(geiger) ?fitContinuous ?fitDiscrete #Look at some Geospiza examples. Is the rate of beak depth evolution dropping in Darwins finches?

88
MADDISON. Confounding asymmetries in evolutionary diversification and character change. Evolution (2006) vol. 60 (8) pp

89

90

91

92
0011 q 01 q 10 speciation 0 speciation 1 extinction 0 extinction 1

93
MADDISON. Confounding asymmetries in evolutionary diversification and character change. Evolution (2006) vol. 60 (8) pp

94

95

96

97
Goldberg et al. 2010

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google