Dear all,
I have 1 RNA-seq dataset and 1 CHIP-seq dataset and I would like to make a heatmap from this data. The only thing that they have in common are gene names. I can’t seem to figure out how to make 2 separate heatmaps of this data and then combine these in to one panel or how to make one heatmap of these datasets in which the columns of this heatmap are colored independently from each other (so both columns have a different color pallete) Any ideas?
Many thanks for your help
This is a sample of my dataset:
TAGS log2
ENSMUSG00000000103 39 -3.7508929
ENSMUSG00000000127 17 0.9289728
ENSMUSG00000000131 15 0.1310221
ENSMUSG00000000134 15 0.8215449
ENSMUSG00000000149 15 -0.5754766
ENSMUSG00000000157 97 -0.2849805
ENSMUSG = gene name
TAGS = data from chip-seq
log2 = data from rna-seq.
Both columns in the heatmap need to be in a different color pallete
I have answered a similar question before in here Superimpose 2 Heatmaps with a code.
I,ve tried your code and it worked fine untill i loaded my real big dataset of 3500 rows. With this dataset the pictures are not shown, any ideas how i can solve it without reducing the size of my dataset?
I see. Could you say, where it fails/hangs exactly? ggplot2 part?