Heatmap With Pathway
1
1
Entering edit mode
11.1 years ago

Hi,

I am trying to do a Heatmap from metabolomics data with pathways. I want to show groups of metabolites with their pathway names in row labels and column labels as samples with dendograms for both row and column. I am using R heatmap.2 function, and I able to do most of it except pathways. Can anyone please suggest me which arguments in heatmap.2 function will be useful for the pathway names.

An example will be from this URL without dendograms :http://openi.nlm.nih.gov/detailedresult.php?img=2718497_gb-2009-10-6-r63-2&req=4

Thanks, Indrani

heatmap • 4.5k views
ADD COMMENT
0
Entering edit mode
11.1 years ago

The documentation says you should use labRow and labCol parameters to set the row and column labels, resp. Make sure your dataframe has row and column names with rownames(df) and colnames(df), resp. Perhaps post your code if you're still having difficulties.

ADD COMMENT

Login before adding your answer.

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