Graphical Methods for Visualizing Comparative Data on Phylogenies

  • Liam J. RevellEmail author


Phylogenies have emerged as central in evolutionary biology over the past three decades or more, and an extraordinary expansion in the breadth and sophistication of phylogenetic comparative methods has played a large role in this growth. In this chapter, I focus on a somewhat neglected area: the use of graphical methods to simultaneously represent comparative data and trees. As this research area is theoretically very broad, I have concentrated on new methods developed by me, or techniques devised by others and implemented by me as part of my R phylogenetics package, phytools. I describe a variety of methods in this chapter, including approaches that can be used to map reconstructed discrete or continuous character evolution on trees; techniques for projecting phylogenetic trees into morphospace; and methods for visualizing phylogenies in the context of a global or regional geographic map. In this chapter, my intention is not merely to showcase new methods that I have developed. Rather, I have also dedicated considerable attention to detailing the algorithms and computational techniques required for these approaches with the hope that this chapter will become a resource or jumping-off point for researchers interested in building new, more advanced approaches and methods in this area.



Thanks to L. Z. Garamszegi for inviting me to contribute this chapter. Thanks are also due to D. Collar, L. Mahler, and R. Mehta for contributing the data and trees that I used for some of these visualizations; to D. Collar, L. Harmon, and L. Mahler for lots of discussion of these methods; to D. Bapst, L. Mahler, E. Miller, and M. Pie for suggesting (in one way or another) methods that appear in this chapter; and to L. Mahler, R. Maia, and an anonymous reviewer for reading and commenting on an earlier version of this chapter. This research was funded in part by a grant from the National Science Foundation (DEB 1350474).


  1. Ackerly D (2009) Conservatism and diversification of plant functional traits: evolutionary rates versus phylogenetic signal. PNAS 106:19699–19706CrossRefGoogle Scholar
  2. Adler D, Murdoch D (2013) rgl: 3D visualization device system (OpenGL). R package version 0.93.935Google Scholar
  3. Archie J, Day WHE, Felsenstein J, Maddison W, Meacham C, Rohlf FJ, Swofford D (1986) Newick tree format. More information:
  4. Atkinson QD, Gray RD (2005) Curious parallels and curious connections: phylogenetic thinking in biology and historical linguistics. Syst Biol 54:513–526CrossRefGoogle Scholar
  5. Baum DA, Smith SD (2013) Tree thinking: an introduction to phylogenetic biology. Roberts and Company, Greenwood VillageGoogle Scholar
  6. Beaulieu JM, O’Meara BC, Donoghue MJ (2013) Identifying hidden rate changes in the evolution of a binary morphological character: the evolution of plant habit in the campanulid angiosperms. Syst Biol 62:725–737CrossRefGoogle Scholar
  7. Becker RA, Wilks AR, Brownrigg R, Minka TP (2013) Maps: draw geographical maps. R package version 2.3-2Google Scholar
  8. Bininda-Emonds OR, Cardillo M, Jones KE, MacPhee RDE, Beck RMD, Grenyer R, Price SA, Vos RA, Gittleman JL, Purvis A (2007) The delayed rise of present-day mammals. Nature 446:508–512CrossRefGoogle Scholar
  9. Bokma F (2008) Detection of “punctuated equilibrium” by Bayesian estimation of speciation and extinction rates, ancestral character states, and rates of anagenetic and cladogenetic evolution on a molecular phylogeny. Evolution 62:2718–2726CrossRefGoogle Scholar
  10. Bollback JP (2006) SIMMAP: stochastic character mapping of discrete traits on phylogenies. BMC Bioinf 7:88CrossRefGoogle Scholar
  11. Butler MA, King AA (2004) Phylogenetic comparative analysis: a modeling approach for adaptive evolution. Am Nat 164:683–695CrossRefGoogle Scholar
  12. Collar DC, Wainwright PC, Alfaro ME, Revell LJ, Mehta RS, Biting disrupts integration to spur skull evolution in eelsGoogle Scholar
  13. Core Team R (2013) R: a language and environment for statistical computing. R Foundation for Statistical Computing, ViennaGoogle Scholar
  14. Eastman JM, Alfaro ME, Joyce P, Hipp AL, Harmon LJ (2011) A novel comparative method for modeling shifts in the rate of character evolution on trees. Evolution 65:3578–3589CrossRefGoogle Scholar
  15. Edwards EJ, Osborne CP, Strömberg CAE, Smith SA, C4 Grasses Consortium (2010) The origins of C4 grasslands: Integrating evolutionary and ecosystem science. Science 328:587–591CrossRefGoogle Scholar
  16. Evans MEK, Smith SA, Flynn RS, Donoghue MJ (2009) Climate, niche evolution, and diversification of the “bird-cage” evening primroses (Oenothera, sections Anogra and Kleinia). Am Nat 173:225–240CrossRefGoogle Scholar
  17. Felsenstein J (1985) Phylogenies and the comparative method. Am Nat 125:1–15CrossRefGoogle Scholar
  18. Felsenstein J (1988) Phylogenies and quantitative characters. Ann Rev Ecol Syst 19:445–471CrossRefGoogle Scholar
  19. Felsenstein J (2004) Inferring phylogenies. Sinauer Associates, SunderlandGoogle Scholar
  20. Felsenstein J (2012) A comparative method for both discrete and continuous characters using the threshold model. Am Nat 179:145–156CrossRefGoogle Scholar
  21. FitzJohn RG (2010) Quantitative traits and diversification. Syst Biol 59:619–633CrossRefGoogle Scholar
  22. Freckleton RP, Harvey PH, Pagel M (2002) Phylogenetic analysis and comparative data: a test and review of evidence. Am Nat 160:712–726CrossRefGoogle Scholar
  23. Glor RE (2010) Phylogenetic insights on adaptive radiation. Ann Rev Ecol Evol Syst 41:251–270CrossRefGoogle Scholar
  24. Harmon LJ, Schulte JA II, Larson A, Losos JB (2003) Tempo and mode of evolutionary radiation in iguanian lizards. Science 301:961–964CrossRefGoogle Scholar
  25. Harvey PH, Pagel MD (1991) The comparative method in evolutionary biology. Oxford University Press, OxfordGoogle Scholar
  26. Huelsenbeck JP, Nielsen R, Bollback JP (2003) Stochastic mapping of morphological characters. Syst Biol 52:131–158CrossRefGoogle Scholar
  27. Lemon J (2006) Plotrix: A package in the red light district of R. R-News 6:8–12Google Scholar
  28. Ligges U, Mächler M (2003) Scatterplot3d: An R Package for visualizing multivariate data. J Stat Softw 8:1–20CrossRefGoogle Scholar
  29. Losos JB (2009) Lizards in an evolutionary tree: ecology and adaptive radiation of anoles. University of California Press, BerkeleyGoogle Scholar
  30. Losos JB (2011) Seeing the forest for the trees: the limitations of phylogenies in comparative biology. Am Nat 177:709–727CrossRefGoogle Scholar
  31. Mahler DL, Revell LJ, Glor RE, Losos JB (2010) Ecological opportunity and the rate of morphological evolution in the diversification of Greater Antillean anoles. Evolution 64:2731–2745CrossRefGoogle Scholar
  32. Miles DB, Dunham AE (1993) Historical perspectives in ecology and evolutionary biology: the use of phylogenetic comparative analyses. Ann Rev Ecol Syst 24:587–619CrossRefGoogle Scholar
  33. Miller ET, Zanne AE, Ricklefs RE (2013) Niche conservatism constrains australian honeyeater assemblages in stressful environments. Ecol Lett 16:1186–1194CrossRefGoogle Scholar
  34. Near TJ, Bolnick DI, Wainwright PC (2005) Fossil calibrations and molecular divergence time estimates in centrarchid fishes (Teleostei: Centrarchidae). Evolution 59:1768–1782CrossRefGoogle Scholar
  35. Nielsen R (2002) Mapping mutations on phylogenies. Syst Biol 51:729–739CrossRefGoogle Scholar
  36. Nunn CL (2011) The comparative approach in evolutionary anthropology and biology. University of Chicago Press, ChicagoCrossRefGoogle Scholar
  37. O’Meara B (2012) Evolutionary inferences from phylogenies: a review of methods. Ann Rev Ecol Evol Syst 43:267–285CrossRefGoogle Scholar
  38. O’Meara BC, Ané C, Sanderson MJ, Wainwright PC (2006) Testing for different rates of continuous trait evolution using likelihood. Evolution 60:922–933CrossRefGoogle Scholar
  39. Pagel M (1994) Detecting correlated evolution on phylogenies: a general method for comparative analysis of discrete characters. Proc Roy Soc Ser B 255:37–45CrossRefGoogle Scholar
  40. Paradis E (2012) Analysis of phylogenetics and Evolution with R, 2nd edn. Springer, New YorkCrossRefGoogle Scholar
  41. Paradis E, Claude J, Strimmer K (2004) APE: analyses of phylogenetics and evolution in R language. Bioinformatics 20:289–290CrossRefGoogle Scholar
  42. Pennell MW, Harmon LJ (2013) An integrative view of phylogenetic comparative methods: connections to population genetics, community ecology and paleobiology. Ann NY Acad Sci 1289:90–105CrossRefGoogle Scholar
  43. Pybus OG, Harvey PH (2000) Testing macro-evolutionary models using incomplete molecular phylogenies. Proc Roy Soc B 267:2267–2272CrossRefGoogle Scholar
  44. Ree RH, Smith SA (2008) Maximum likelihood inference of geographic range evolution by dispersal, local extinction, and cladogenesis. Syst Biol 57:4–14CrossRefGoogle Scholar
  45. Revell LJ (2012) Phytools: an R package for phylogenetic comparative biology (and other things). Methods Ecol Evol 3:217–223CrossRefGoogle Scholar
  46. Revell LJ (2013) Two new graphical methods for mapping trait evolution on phylogenies. Methods Ecol Evol 4:754–759CrossRefGoogle Scholar
  47. Revell LJ (2014) Ancestral character estimation under the threshold model from quantitative genetics. Evolution 68:743–759CrossRefGoogle Scholar
  48. Revell LJ, Mahler DL, Peres-Neto PR, Redelings BD (2012) A new method for identifying exceptional phenotypic diversification. Evolution 66:135–146CrossRefGoogle Scholar
  49. Rohlf FJ (2001) Comparative methods for the analysis of continuous variables: geometric interpretations. Evolution 55:2143–2160CrossRefGoogle Scholar
  50. Rohlf FJ (2002) Geometric morphometrics and phylogeny. In: MacLeod N, Forey PL (eds) Morphology, shape, and phylogeny. CRC Press: Boca Raton, pp 175–193Google Scholar
  51. Rosindell J, Harmon LJ (2012) OneZoom: a fractal explorer for the tree of life. PLoS Biol 10:e1001406CrossRefGoogle Scholar
  52. Schliep KP (2011) Phangorn: phylogenetic analysis in R. Bioinformatics 27:592–593CrossRefGoogle Scholar
  53. Schluter D, Price T, Mooers AØ, Ludwig D (1997) Likelihood of ancestor states in adaptive radiation. Evolution 51:1699–1711CrossRefGoogle Scholar
  54. Sidlauskas B (2008) Continuous and arrested morphological diversification in sister clades of characiform fishes: a phylomorphospace approach. Evolution 12:3135–3156CrossRefGoogle Scholar
  55. Smith SA, Beaulieu JM, Donoghue MJ (2009) Mega-phylogeny approach for comparative biology: an alternative to supertree and supermatrix approaches. BMC Evol Biol 9:37CrossRefGoogle Scholar
  56. Thornton JW, DeSalle R (2000) Gene family evolution and homology: genomics meets phylogenetics. Ann Rev Genomics Hum Genet 1:41–73CrossRefGoogle Scholar
  57. Verbruggen H (2008) TreeGradients. Available:
  58. Yang Z (2006) Computational molecular evolution. Oxford University Press, OxfordCrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2014

Authors and Affiliations

  1. 1.Department of BiologyUniversity of Massachusetts BostonBostonUSA

Personalised recommendations