Code

A guide to elegant tiled heatmaps in R [2019]

A step-by-step guide to data preparation and plotting of simple, neat and elegant heatmaps in R using base graphics and ggplot2.

Beautiful circos plots in R

Circos plots are popular for displaying huge amounts of data in a relatively small visual space. This is especially relevant for genomic data. This post explores creating Circos-style genomic data plots in R using R package circlize.

Calendar plot shiny app and dynamic UI

Create an interactive calendar plot in R using Shiny.

Customising ggplot2

Customising a ggplot2 plot using the theme function. In this post, we are going to explore how to adjust various ggplot plot elements. What can be adjusted, what they are called and how they can be adjusted.

Scraping Instagram and choosing hashtags

Scraping Instagram for basic public data using R to help us pick "optimal" hastags.

Structure 'Sort by Q' explained.

STRUCTURE is a popular software used by biologists to infer the population structure of organisms using genetic markers. Barplots in STRUCTURE have an option to sort individuals by Q. We explore the 'Sort by Q' option using R and Excel to figure out what it does.

A guide to elegant tiled heatmaps in R

A step-by-step guide to data preparation and plotting of simple, neat and elegant heatmaps in R using base graphics and ggplot2.