Please let me know any tools or R packages that can create a mutation diagram showing mutations in protein domains like this figure from the MSKCC cBio Cancer Genomic Portal? Thanks in advance
Please let me know any tools or R packages that can create a mutation diagram showing mutations in protein domains like this figure from the MSKCC cBio Cancer Genomic Portal? Thanks in advance
Bioconductor package trackViewer gives beautiful lolliplot.
Pfam provides an online tool to not only generate the domain information in JSON format, but to draw the lollipop diagram using javascript as well. They have more information here.
IMHO, not as pretty as cBioPortal's but it gets you close to a solution.
EDIT / SHAMELESS PLUG: After seeing the data available and how easy it'd be, I made my own quick tool to fetch the data and draw the diagram for me in a style similar to cBioPortal - feel free to fork it and add features: https://github.com/pbnjay/lollipops
Example output (w/ labels per the comments)
The cBIO portal team recently released a web based tool to generate lollipop diagrams.
Hi
We found ourselves in the same need, we wanted such a plot (JavaScript). Thus, I add our solution, Mutations Needle Plot. The library creates an SVG image (with D3), which then may be downloaded.
You will need npm in order to be able to install & run the library.
Examples may be found in the snippets folder or also the index.html - The one displayed here below
My colleague @SolenaLS recently asked me to write something like this: (uniprot+SVG+javascript : ) http://lindenb.github.io/pages/uniprot/paintsvg.html
There's a developmental version of this type of diagram using R here, the function is called lolliplot.
Also in bioconductor devel branch. An example visual can be viewed from the vignette found here.
Dear,
Colleagues have listed rectangular representations. I have recently published a circular version of such plots. Here is the website: http://i-pv.org/
And here is an example: http://i-pv.org/FOXP2.html
You can also search for I-PV for the posts in Biostar.
I hope this helps
R packages:
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Search your favorite search engine for "lollipop plot" or build your own, as described in another answer.
Thank all for the answers. Based on your suggestion, I found the R package MethVisual for visualization and exploratory statistical analysis of DNA methylation profiles by Arie Zackay and Christine Steinhoff. It will give me some direction to build my own code.
Hi did you come up with something good? I looked at MethVisual, but it doesn't seem really straightforward to get to the cBio picture from there... Thanks if you can share some code!
Please PM me your email.
I have been confused by the method of plotting mutations. Could you share your code with me? Thank you very much!
I'm not aware of a specific package but I have made something very similar to this just using base graphics, i.e.
rect
, after moving the x-axis down withmgp
, plot withtype="h"
for the vertical lines... it was quite straightforward.Could you share the code to do the same.
Thanks
Saurabh
Could you share the code to do the same
Thank U
Daniel
Related post at StackOverflow: