how to make this plot for mutation?
1
2
Entering edit mode
9.3 years ago
mangfu100 ▴ 810

Hi all.

I am wondering that the method of drawing plot like below.

Can it be done automatically by using visualization tools or do I have to write codes and combine all of the bars and tables in the figure using R?

sequencing genome • 9.4k views
ADD COMMENT
7
Entering edit mode
9.3 years ago
poisonAlien ★ 3.2k

I had same problem, so I made a little R package to plot this kind of plot (generally called oncoplots).

Internally it uses oncoprint script from ComplexHeatmap, but takes care parsing, sorting and format conversion.

ADD COMMENT
0
Entering edit mode

Thanks you.

The packages you made will be helpful in my research. I will use it later :)

ADD REPLY
0
Entering edit mode

If you are using the old script which is shipped with ComplexHeatmap package, be careful there would be some errors when adding annotations (barplot) on rows and columns. (e.g. Errors will occur when there is only one mutation type in the matrix). In the newest version of ComplexHeatmap (available at Github), I added a real oncoPrint() function which wraps the code in the old script but with some improvement. There is also a vignette giving a brief introduction of this new function.

ADD REPLY
0
Entering edit mode

Thanks for the heads up! I will definitely look into it.

ADD REPLY
0
Entering edit mode

Hi, I wonder if the maftools could make oncoplot including both scna and mutation data? Thx!

ADD REPLY

Login before adding your answer.

Traffic: 2065 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6