phylogenetic comparative trait and community analyses

67
Phylogenetic comparative trait and community analyses

Upload: kristopher-devereux

Post on 22-Dec-2015

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Phylogenetic comparative trait and community analyses

Phylogenetic comparative trait and community analyses

Page 2: Phylogenetic comparative trait and community analyses

Questions

• Discussions: – Robbie: posting paper and questions for this week– Vania & Samoa: will be picking a paper to post for

week after spring break

• Reschedule Monday’s class?– 9:30-10:45 Wed in Benton 240

• Any questions?

Page 3: Phylogenetic comparative trait and community analyses

FernsGymnosperms

Angiosperms

Page 4: Phylogenetic comparative trait and community analyses

Part 1: Evolutionary trees

• What is systematics?• What are phylogenies?• Why are phylogenies useful?• Background information

Page 5: Phylogenetic comparative trait and community analyses

What is systematics?

• Systematics is the study of the diversity of organisms and the relationships among these organisms

Page 6: Phylogenetic comparative trait and community analyses

Ways to examine relationships

• Evolutionary systematics: Based on similarity as determined by expert (Mayr, Simpson)

• Phenetics: Based on overall similarity (Rolf, Sokal, Sneath)

• Cladistics: Based on shared derived characters (synapomorphies; Hennig)

Page 7: Phylogenetic comparative trait and community analyses

Ways to examine relationships

• Cladistics: Based on synapomorphies– Maximum Parsimony: Form the shortest possible

tree (based on minimum steps)– Maximum Likelihood: Based on probability of

change in character state and then calculate likelihood that a tree would lead to data (useful for molecular data)

– Bayesian Inference: Based on the likelihood that the data would lead to the tree based on prior probabilities assigned using Bayes Theorem

Page 8: Phylogenetic comparative trait and community analyses

Part 1: Evolutionary trees

• What is systematics?• What are phylogenies?• Why are phylogenies useful?• Background information

Page 9: Phylogenetic comparative trait and community analyses

What are phylogenies?

• Phylogenies are our hypotheses of evolutionary relationships among groups (taxa or taxon for singular)

• Graphically represented by trees• When based on shared derived characters

= cladograma

node 1

b c

node 2

ch. 3ch. 2

ch. 1

Page 10: Phylogenetic comparative trait and community analyses

Part 1: Evolutionary trees

• What is systematics?• What are phylogenies?• Why are phylogenies useful?• Background information

Page 11: Phylogenetic comparative trait and community analyses

Why are phylogenies useful?• Useful for studying

– Evolutionary relationships– Evolution of characters: Correlated (PICs vs. sister pairs), Signal,

Partition variation, Ancestral state, Simulations– Types (Brownian vs. OU) and rates of evolution (Homogenous

vs. heterogeneous)– Group ages (fossils, biogeography)– Diversity/Diversification: Speciation vs. Extinction?– Biogeographic history– Community phylogenetics– Phyloclimatic modeling and conservation

• Assist in – Identification– Classification

Page 12: Phylogenetic comparative trait and community analyses

Part 1: Evolutionary trees

• What is systematics?• What are phylogenies?• Why are phylogenies useful?• Background information

Page 13: Phylogenetic comparative trait and community analyses

Background information

• Trees• Characters• Groups• Other

Page 14: Phylogenetic comparative trait and community analyses

Trees

• Tips: Living taxa• Nodes: Common ancestor• Branches: Can represent time since

divergence• Root: Common ancestor to all species in study

a

node 1

b c

node 2

branch

root

tips

Page 15: Phylogenetic comparative trait and community analyses

Trees

• Sister group: Closest relative to a taxon – c and d are sister– b = sister to c,d– a = sister to b,c,d

a db c

Page 16: Phylogenetic comparative trait and community analyses

Trees

• Our goal is to make bifurcating trees• But a polytomy is when we are unable to

resolve which are the sister taxa (hard vs. soft)

a db c

Page 17: Phylogenetic comparative trait and community analyses

Trees

• Phylogenetic trees can be rotated around their nodes and not change the relationships

a b cd b c ad

Page 18: Phylogenetic comparative trait and community analyses

Trees

• Toplogy: shape• Branch lengths: differentiation (e.g., 1 =

punctuated, speciational) or time = ultrametric

Page 19: Phylogenetic comparative trait and community analyses

Characters

• Characters: Attribute (e.g., morphological, genetic)– Eye color– Production of flowers– Position 33 in gene X

• Character state: Value of that character– Blue, green, hazel, brown– Yes, No– A, T, G, C

Page 20: Phylogenetic comparative trait and community analyses

Picking Characters

• Variable• Heritable• Comparable (homologous)• Independent

Page 21: Phylogenetic comparative trait and community analyses

Characters

• Homology: A character is homologous in > 2 taxa if found or derived from their common ancestor

1 or 1’

1 1

homologous

Page 22: Phylogenetic comparative trait and community analyses

Homology

• Homology is determined by:– Similar position or structures– Similar during development– Similar genetically– Evolutionary character series (transformational

homology) from ancestor to descendents

Page 23: Phylogenetic comparative trait and community analyses

Characters

• Homoplasy: A character is homoplasious in > 2 taxa if the common ancestor did not have this character

0

1 1

analogous

Page 24: Phylogenetic comparative trait and community analyses

Homoplasy

• Due to– Convergent evolution: Similar character states in

unrelated taxa– Reversals: A derived character state returns to the

ancestral state

Page 25: Phylogenetic comparative trait and community analyses

Characters

• Apomorphy: Derived character• Pleisiomorphy: Ancestral character

a b c

ch. 2

ch. 1

Page 26: Phylogenetic comparative trait and community analyses

Characters

• Synapomorphy: Shared derived character• Autapomorphy: Uniquely derived character• Symplesiomorphy: Shared ancestral character

chs. 2, 3 = Synapomorphieschs. 5, 6 = Autapomorphiesch. 1 = Symplesiomorphych. 4 = False synapomorphy

a

node 1

b c

node 2

ch. 3ch. 2

ch. 1

ch. 6ch. 4ch. 5

ch. 4

1,4,5 1,2,3,4 1,2,3,6

Page 27: Phylogenetic comparative trait and community analyses

Monophyletic groups

• Monophyletic groups: Contain the common ancestor and all of its descendents

• What are the monophyletic groups?

a db c

–c,d–b,c,d–a,b,c,d

Page 28: Phylogenetic comparative trait and community analyses

Other groups (not recognized)

• Paraphyletic groups: Contain the common ancestor and some of its descendents

a db c

ch. 1Based on sympleisiomorphic character

Page 29: Phylogenetic comparative trait and community analyses

Other groups (not recognized)

• Polyphyletic groups: Descendants with 2 or more ancestral sources

a db c

Based on false synapomorphy

e

ch. 4

Page 30: Phylogenetic comparative trait and community analyses

Getting trees

• From the literature, Phylomatic, Genbank, collect data yourself (may need name scrubbing tools: Phylomatic, TaxonScrubber)– Methods for assembly: Supertree, Supermatrix,

Megatree, Zip them together– Getting the topology vs. getting branch lengths?– Discord among trees based on different

characters? Gene trees vs. species trees

Page 31: Phylogenetic comparative trait and community analyses

Storing trees

• Newick: ((b:1, c:1), a:1):1;• Nexus (output of Paup)• Pagel• Distance matrix

a b ca b c

a 0 3 3b 3 0 2c 3 2 0

Page 32: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis Testing Using Evolutionary Trees

Page 33: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis testing

• What sort of hypotheses can we test?– Phylogeography– Evolutionary dating– Phylogenetic community structure– Coevolution/Cospeciation– Mapping characters

• Types of characters• Correlated Change• Dependent Change• Phylogenetic Signal

http://treetapper.org/, http://cran.r-project.org/web/views/Phylogenetics.html

Page 34: Phylogenetic comparative trait and community analyses

When do we need to use phylogenies?

• Is it always necessary in ecological questions?– Yes, taxa are not independent points so we must

“correct for” phylogeny– Sometimes, it is interesting to “incorporate”

phylogenetic hypotheses to see how they influence our analyses

– No, evolutionary questions can be asked by incorporating phylogenies but each species represents a separate successful event and should be analyzed with that in mind

Page 35: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis testing

• What sort of hypotheses can we test?– Phylogenetic community structure– Mapping characters

• Types of characters• Correlated Change• Dependent Change• Phylogenetic Signal

Page 36: Phylogenetic comparative trait and community analyses

Phylogenetic Community Structure

• Webb (2000) tested the alternate hypotheses that co-occurring species are (1) more or (2) less closely related than a random assembly of species

• He examined the phylogenetic structure in 28 plots in 150 ha of Bornean forest

Page 37: Phylogenetic comparative trait and community analyses
Page 38: Phylogenetic comparative trait and community analyses

Phylogenetic Community Structure

• He found species were more closely related than a random distribution

Page 39: Phylogenetic comparative trait and community analyses

Phylogenetic Community Structure

• Recent development of metrics:• NRI, NTI, PSV, PSC• Do you use abundance or presence/absence?• What regional pool do you compare to?• What null models should you use?

Page 40: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis testing

• What sort of hypotheses can we test?– Phylogenetic community structure– Mapping characters

• Types of characters• Correlated Change• Dependent Change• Phylogenetic Signal

Page 41: Phylogenetic comparative trait and community analyses

Mapping Characters

• Once we have a known phylogeny, we can map on characters of interest to test hypotheses

• The phylogeny must be built on characters independent of those of interest

Page 42: Phylogenetic comparative trait and community analyses

Types of Characters

• If we have a character that appears in a number of taxa, we may – Test the alternate hypotheses that it is (1)

analogous or (2) homologous– Test hypotheses as to which state is ancestral and

derived

• We can map the character onto the phylogeny to test these hypotheses

Page 43: Phylogenetic comparative trait and community analyses

Homologous vs. Analogous Characters

Page 44: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis testing

• What sort of hypotheses can we test?– Phylogenetic community structure– Mapping characters

• Types of characters• Correlated Change• Dependent Change• Phylogenetic Signal

Page 45: Phylogenetic comparative trait and community analyses

Correlated Change

• Comparative biologists often try to test hypotheses about the relationships between two or more characters by taking measurements across many species– Seed size and seedling size– Body mass and surface area– Fruit size and branch size

Fruit size

Bra

nch

siz

e

Page 46: Phylogenetic comparative trait and community analyses

Correlated Change

• We might want to ask whether the correlation between traits is due to repeated coordinated evolutionary divergences

• We might expect closely related species to resemble one another

Page 47: Phylogenetic comparative trait and community analyses

Correlated Change

• If our phylogeny looked something like this• Then all of the change is really the result of

one evolutionary event

Bra

nch

siz

e

Fruit size

Page 48: Phylogenetic comparative trait and community analyses

Correlated Change

• To incorporate phylogeny into comparative analyses, looking for correlated change, we can use – Sister pairs analyses– Felsenstein’s Independent Contrasts– Grafen’s Phylogenetic regression (ML and

Bayesian approaches too)– Pagel’s Discrete and Multistate (Change in

character state)

Page 49: Phylogenetic comparative trait and community analyses

-1

0

1

2

3

trees &lianas

shrubs

Sign test: 32 of 45 are negative (p < 0.01)

Strychnos

Hamelia

Miconia

Page 50: Phylogenetic comparative trait and community analyses

Correlated Change

• To incorporate phylogeny into comparative analyses, looking for correlated change, we can use – Sister pairs analyses– Felsenstein’s Independent Contrasts (Brownian)– Grafen’s Phylogenetic regression (Other models)

• ML and Bayesian approaches too

– Pagel’s Discrete and Multistate (Change in character state)

Page 51: Phylogenetic comparative trait and community analyses

Independent ContrastsCharacter 1 Character 2

A 20 10B 10 40C 2 100D 4 120

0

50

100

150

0 10 20 30

Character 1

Ch

ara

cte

r 2

Page 52: Phylogenetic comparative trait and community analyses

Independent Contrasts

B C DA

E

5

15

10

10

55

G

F

Ch 1 20 10 2 4Ch 2 10 40 100 120

Red = Branch Lengths

X = Character Values, V = Branch Length Values

Page 53: Phylogenetic comparative trait and community analyses

• Contrasts values: Ck = Xi – Xj Vi + Vj

• Ancestral Values: Xk = Vj Xi + Vi Xj Vi + Vj• Branch Length: V’k = Vk + Vi Vj

Correction Vi + Vj

Independent Contrasts

X = Character Values, V = Branch Length Values

Page 54: Phylogenetic comparative trait and community analyses

Independent Contrasts

B C DA

E

5

15

10

10

55

G

F

Red = Branch Lengths

X = Character Values, V = Branch Length Values

Ch 1 20 10 2 4Ch 2 10 40 100 120

Page 55: Phylogenetic comparative trait and community analyses

Independent ContrastsCE1 = 4 - 2 = 2 = 0.63

5 + 5 10

CE2 = 120 - 100 = 20 = 6.32

5 + 5 10

XE1 = 5 * 4 + 5 * 2 = 10 + 20 = 3

5 + 5 10

XE2 =5 * 120 + 5 * 100 =600 + 500=110

5 + 5 10

V’E = 10 + 5 * 5 = 10 + 25 = 12.5

5 + 5 10

  C D

E

10

55

Ch 1 2 4Ch 2 100 120

X = Character Values, V = Branch Length Values

Page 56: Phylogenetic comparative trait and community analyses

Independent ContrastsCF1 = 3 - 10 = -7 = -1.5

10 + 12.5 22.5

CF2 = 110 - 40 = 70 = 14.8

10 + 12.5 22.5

XF1=10 * 3 +12.5 * 10=30 +125 =6.9

10 + 12.5 22.5

XF2=10*110+12.5 *40=1100 +500=71.1

10 + 12.5 22.5

V’F =15 + 10 * 12.5 =15 + 125 =20.6

10 + 12.5 22.5

  B

E

15

10

12.5

F

Ch 1 10 3Ch 2 40 110

X = Character Values, V = Branch Length Values

Page 57: Phylogenetic comparative trait and community analyses

Independent ContrastsCG1 = 6.9 - 20 = -13.1 = -2.6

5 + 20.6 25.6

CG2 = 71.1 - 10 = 61.1 = 12.1

5 + 20.6 25.6

XG1=5*6.9+20.6*20=34.5+411=17.4

5 + 20.6 25.6

XG2=5*71.1+20.6 *10=355.5 +206=22

5 + 20.6 25.6

  A

5

20.6

G

F

Ch 1 20 6.9Ch 2 10 71.1

X = Character Values, V = Branch Length Values

Page 58: Phylogenetic comparative trait and community analyses

Independent ContrastsContrast 1 Contrast 2

E -2.6 12.1F -1.5 14.8G 0.6 6.3

0

10

20

-4 -2 0 2

Contrast 1

Co

ntr

as

t 2

Note: these should be fit through the origin

Page 59: Phylogenetic comparative trait and community analyses

Independent Contrasts

0

50

100

150

0 10 20 30

Character 1

Ch

ara

cte

r 2

0

10

20

-4 -2 0 2

Contrast 1

Co

ntr

as

t 2

B C DA

E

5

15

10

10

55

G

F

E FG

Ch 1 20 10 2 4Ch 2 10 40 100 120

Page 60: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis testing

• What sort of hypotheses can we test?– Phylogenetic community structure– Mapping characters

• Types of characters• Correlated Change• Dependent Change• Phylogenetic Signal

Page 61: Phylogenetic comparative trait and community analyses

Dependent Change

• We find that two characters show correlated change

• We might hypothesize that change in one character is dependent on the state of a second character

• This can be tested easily on discrete characters– Seed size and disperser size

Page 62: Phylogenetic comparative trait and community analyses

Dependent Change

Page 63: Phylogenetic comparative trait and community analyses

Part 2: Hypothesis testing

• What sort of hypotheses can we test?– Phylogenetic community structure– Mapping characters

• Types of characters• Correlated Change• Dependent Change• Phylogenetic Signal

Page 64: Phylogenetic comparative trait and community analyses

Phylogenetic Signal

• We may want to test the alternate hypotheses that (1) the evolutionary history or (2) the recent ecological pressures most strongly influence species’ characters

• We can examine the amount of “phylogenetic signal” (whether two closely related species are more similar than two random species) for a character

Page 65: Phylogenetic comparative trait and community analyses

Phylogenetic Signal

Y

Strong correlation with phylogeny

Weak correlation with phylogeny

Page 66: Phylogenetic comparative trait and community analyses

Phylogenetic Signal

• Ackerly: Based on PICs (randomizing across the tree)

• Pagel’s lambda• Blomberg’s K: K<1 (overdispersed), K=1

(Brownian random), K>1 (clustered)• Mantel tests: distance based

Page 67: Phylogenetic comparative trait and community analyses

Partitioning variation

• Previously done with Taxonomic Hierarchical ANOVA (e.g., the Family, Genus, Species levels)– This assumes that Families are equivalent units

• But instead the % variation in a trait can be calculated for each node and compared across the tree