[Graph plotting] Correlation between gene expression & histone marks (Anyone know how to plot one/ the one like this figure?)
1
2
Entering edit mode
6.6 years ago
chiefcat ▴ 180

Hi does anyone know how to plot the figure below or a similar one?

Thanks!

https://www.nature.com/articles/ncomms15120/figures/3 enter image description here

RNA-Seq ChIP-Seq • 1.7k views
ADD COMMENT
1
Entering edit mode
6.6 years ago

Not a bioinformatics question but an R programming one. See this SO post.
The trick is to plot the red line over an image, i.e. use the heatmap as background image to the plot. This can be done with the R package ggplot2 and the rasterGrob() function.

ADD COMMENT

Login before adding your answer.

Traffic: 2224 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