Entering edit mode
adriana.gallego.02
▴
20
@adrianagallego02-13155
Last seen 7.3 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

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/