Tag Archives: R

Phylogenetic trees in R using ggtree

Recently, one R package which I like to use for visualizing phylogenetic trees got published. It’s called ggtree, and as you might guess from the name it is based on the popular ggplot2 package. With ggtree, plotting trees in R has … Continue reading

Posted in bioinformatics, howto, phylogenetics, R | Tagged , , , | Leave a comment

Video Tutorial: editing R plots in Adobe Illustrator

Adobe Illustrator is a powerful tool for creating and editing figures; unfortunately, it’s also really intimidating. So today at The Molecular Ecologist we’re trying something a little different: a screen-capture video tutorial about using Adobe Illustrator to enhance and edit plots … Continue reading

Posted in howto, R | Tagged , , , , , , , , | 3 Comments

Using R to mine species data

Many of us generate more data than we know what to do with (speaking of which: keep an eye out for the 2016 NGS Field Guide, coming soon!), so it’s easy to forget about the piles of data already at our fingertips. Research potential is … Continue reading

Posted in howto | Tagged , , , , , | 12 Comments

Quick and dirty tree building in R

One of the major obstacles to turning your sequence data into phylogenetic trees is choosing (and learning) a tree-building program. Confounding this problem is the fact that most researchers will want to perform numerous, complementary analyses, each of which may … Continue reading

Posted in howto, methods, phylogenetics, R, software | Tagged , , , , , , , | 2 Comments

2D Posterior Density Plots in R

I have been grappling with visualizing two dimensional histograms of posterior density distributions of parameters, as estimated by one of your favorite programs – IMa2, MIGRATE-n, MSVAR, etc. All these programs print out distributions of estimated parameters, and here’s a … Continue reading

Posted in bioinformatics, howto, population genetics, R, software | Tagged , , , | 1 Comment

PCA of multilocus genotypes in R

An earlier post from Mark Christie showed up on my feed on calculating allele frequencies from genotypic data in R, and I wanted to put together a quick tutorial on making PCA (Principal Components Analysis) plots using genotypes. I used … Continue reading

Posted in bioinformatics, genomics, howto, population genetics, R, software | Tagged , , | 5 Comments


A couple years ago, Benoit Simon-Bouhet ended up sharing an office with Eric Pante, then a post-doc fellow in his former lab. The two quickly realized they were in a lab in which few people had the expertise or taste for coding. Thus, on … Continue reading

Posted in community ecology, conservation, evolution, howto, natural history, R, software | Tagged , , , , | Leave a comment