How can I do a correlation heatmap between two groups of matrices (metabolomic and transcriptomic data)
0
0
Entering edit mode
@adrianagallego02-13155
Last seen 6.5 years ago

Hi, I want to correlate two matrices of data. First matrix is metabolomic data with 8 biological replicates and 51 metabolites. Second matrix is the transcriptomic data with 8 replicates and 64 transcripts.

Metabolomic data

ID A A A A B B B B
1 1489 1285 478 125 148 125 128 489
2 12145 25 265 4548 8926 49526 7565 1558

...... and 50 more rows like this

Transcriptomic data

ID A A A A B B B B
1 14811 128555 478255 125889 148358 125248 12896 489355
2 12145245 88825 555265 4522548 8444926 46669526 7444565 7851558

...... and 64 more rows like this

How should I organize the input file? what is the code to run in R?

Thanks

Maria

 

 

correlation • 1.2k views
ADD COMMENT
0
Entering edit mode

Hi,

As you are not providing any code that you have tested nor name any packages that you have looked at it is hard to see that this is directly related to bioconductor. For a general description on how to generate a heatmap have a look at https://www.r-bloggers.com/how-to-make-a-simple-heatmap-in-ggplot2/

ADD REPLY

Login before adding your answer.

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