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
1 answer
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.
Log in to answer this question.