How to generate mutation distribution and frequency plots?

Let’s plot some mutations!

Mutations Needle PlotEasy, right? For our next iteration of the IntOGen database, we wanted to add figures that represent the mutation distribution across the protein sequence. And we found ourselves, just as others, in the situation, that we know that there are solutions, but none is available for us to incorporate in the web portal.

We would like to produce plots that describe the mutation frequency data, are aesthetically pleasing and easily understood. The Mutation Mapper at the cBioPortal does a great job already and provides a web service. Additionally we’d like to reflect different consequence types in the same position. Thus we decided to give the all-so-famous D3 (Data Driven Documents)  a go. It’s a blast to use and in a couple of days we had our first plots as a generic library.

Read the rest of this entry »