Tag Archives: R

Simple tools for mastering color in scientific figures

Call me a procrastinator but I strongly believe that spending time to select a good color scheme can work miracles with a plot, paper, or presentation. In science, it’s generally not expected that you invest time into a thought process … Continue reading

Posted in howto, methods, Science Communication, science publishing | Tagged , , , , , , , , , , | 1 Comment

Simple Gantt charts in R with ggplot2 … and Microsoft Excel

making Gantt charts is a form of self-care — Colin J. Carlson (@ColinJCarlson) November 26, 2018 If you’ve ever had to explain how all the elements of a big, multi-part project come together, you’ve probably at least considered making something … Continue reading

Posted in funding, howto | Tagged , | 1 Comment

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 , , , | 2 Comments

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 , , , , , , , | 3 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 , , | 6 Comments

marmap

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

Making Maps with R

First off, thanks to Tim and Jeremy for the invitation to write a guest post here on using R to make maps! As a brief introduction, my name is Kim Gilbert, and I am a Ph.D. student at the University … Continue reading

Posted in howto, R, software | Tagged , , | 122 Comments