Question: [Graph plotting] Correlation between gene expression & histone marks (Anyone know how to plot one/ the one like this figure?)
2
gravatar for chiefcat
18 months ago by
chiefcat90
chiefcat90 wrote:

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 • 626 views
ADD COMMENTlink modified 18 months ago by Jean-Karim Heriche18k • written 18 months ago by chiefcat90
1
gravatar for Jean-Karim Heriche
18 months ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche18k wrote:

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 COMMENTlink written 18 months ago by Jean-Karim Heriche18k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2502 users visited in the last hour