I am pleased to announce heatmaply, my new R package for generating interactive heat maps, based on the plotly R package. tl;dr By running the following 3 lines of code: install.packages("heatmaply") library(heatmaply) heatmaply(mtcars, k_col = 2, k_row = 3) %>% layout(margin = list(l = 130, b = 40)) You will get this output in your browser … Continue reading...
On May 17 I had the pleasure of running a workshop at the Berkeley R Meetup. The workshop was titled “Mapping Open Data in R”, and I’ve had a few requests for the slides. You can see them below. The slides have code on them. If you would like to download a file with the code,
In every statistical analysis, the first thing one should do is try and visualise the data before any modeling. In microarray studies, a common visualisation is a heatmap of gene expression data. In this post I simulate some gene expression data and visualise it using the heatmaply package in R by Tal Galili. This package
Shortly after running a webinar last week I received an email from Achim Rumberger, who attended the webinar live. Achim immediately put the webinar material into use for his own project, which involves mapping ZIP Codes in Germany. This was the first case study I received related to my new course, Shapefiles for R Programmers, and I wanted to share
What is this? a center for ants!? leafletDK is a package that makes it easy to create interactive dynamic leaflet maps based on danish administrative areas. The package is heavily inspired by the amazing mapDK package by Sebastian Barfort, which I recommend if you want to create static high quality maps. Getting started First you... Read more »
“Here are those damned black hat fellows again.”Attributed to men of the 26th North Carolina, Pettigrew's Brigade at the Battle of Gettysburg in describing the "Iron Brigade".A while back I created a post about plotting Russian airstrikes in Syria using the ggmap package. Of note was the commentary and method of taking that data...
On May 17 I will be running a free workshop titled Mapping Open Data in R. The workshop will be in Berkeley, CA and is open to the public. If you have an interest in the subject matter then I hope that you will attend! Here is a sample of the maps that people will learn to
WrightMap Tutorial 4 - More Flexibility
Using the person and item side functions
Version 1.2 of the WrightMap package allows you to directly access the functions used for drawing the person and item sides of the map in order to allow more flexible item person maps. The parts can be put together on the same plot using the split.screen function.
In the whole history of the world there is but one thing that money can not buy… to wit the wag of a dog’s tail (Josh Billings) In this post I combine several things: Simple webscraping to read the list of companion dogs from Wikipedia. I love rvest package to do these things. Google Trends … Continue reading...
My colleague Jon Lieber and I recently released a new report that analyzes how digital marketplaces that connect workers to consumers demanding their services (e.g. Uber, Thumbtack, Upwork, etc.) are affecting the American labor market. As part of this report, we looked at where these digital marketplaces are most active. Although the biggest ones are now active...