Publications by CL

polar histogram: pretty and useful

21.02.2012

Do you have tens of histograms to show but no room to put them all on the page? As I was reading this paper in Nature Genetics, I came across a simple and clever way of packing all this information in a small space: arrange them all around a circle, and add some guides to help their cross-comparison. It didn’t look too difficult to implement in...

3017 sym R (1280 sym/4 pcs) 6 img 2 tbl

A graphical overview of your MySQL database

18.03.2012

If you use MySQL, there’s a default schema called ‘information_schema‘ which contains lots of information about your schemas and tables among other things. Recently I wanted to know whether a table I use for storing the results of a large number experiments was any way near maxing out. To cut a brief story even shorter, the answer was “no...

2264 sym R (2962 sym/6 pcs) 12 img 3 tbl

spam evolution

26.04.2012

Spam, by [email protected]Despite some rather modest protection (like a simple captcha), I still receive spammy comments on this blog every now and again. They’re easily spotted and actually never appear on the website. There’s obviously an incentive for the spammer to post something as convincing as possible: either you’re taken in and th...

3669 sym 4 img

An exercise in R using local open data

17.06.2012

Last week I went to the “Government Open Data Hack Day” ([@,#]godhd on twitter) in Birmingham (UK), organised by Gavin Broughton and James Catell. The idea was to get hold of local open data and try and make use of them in just one day. You can see some of the work done on that day presented here. It was good fun and I’ve learned a few tric...

10894 sym R (8951 sym/21 pcs) 14 img 8 tbl

A very quick introduction to ggplot2

14.10.2012

I gave a very brief 10mn introduction to ggplot2 at the Birmingham R user group meeting on Monday. The aim was to give a headstart to R users who’ve heard of ggplot2 but never got around to trying it. I made the talk with deck.js, with a couple of css customisations. You can browse the slides here. Right and left arrows to navigate and ‘m‘ ...

1031 sym 4 img

A two-hour online course on ggplot2 and Shiny

11.06.2014

I’ve just published a video course with Packt Publishing about ggplot2 and Shiny! In just two hours, you’ll get to learn the popular R packages ggplot2 and Shiny, as well as how to put them together to build interactive webpages. And all that from R. The course consists of short videos (around 2 or 3 minutes) that explain one concept at the t...

1831 sym 4 img

Win a free copy of a new video course on ggplot2 and Shiny!

01.07.2014

Noticed all these posts on r-bloggers about ggplot2 and shiny? Do you want in? My course “Building Interactive Graphs with ggplot2 and Shiny” (published by Packt Publishing) covers those 2 packages in a series of 40 videos, each one dedicated to one concept at the time. After this course, you’ll be able to make fancy customised plots and pu...

1719 sym 4 img

How to pick up 3 numbers from a uniform distribution in a transparent manner?

07.07.2014

Over in my previous post, I’m giving away 3 copies of my video course on ggplot2 and shiny. To win a copy, you just need to leave a comment and I will select 3 winners among the n participants at random after a deadline. But how do I pick 3 winners such that: all players are equally likely to win. no-one can contest the fairness of the selecti...

4125 sym R (1817 sym/8 pcs) 2 img 4 tbl

Another take on building a multi-lingual shiny app

08.11.2014

I was reading this interesting post about how to build a multi-lingual Shiny app. I’m also building a multi-lingual Shiny app and came up with slightly different take on it. First, I don’t use a function for finding the translation, but a 2D list. This way I can directly get to the translation with a simple access to the list. Select All Code...

1445 sym R (1566 sym/10 pcs) 4 img 5 tbl