Question: Heatmap With Pathway
gravatar for indranipoddar
6.0 years ago by
United States
indranipoddar40 wrote:


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 :

Thanks, Indrani

heatmap • 2.7k views
ADD COMMENTlink modified 6.0 years ago by Alex Reynolds27k • written 6.0 years ago by indranipoddar40
gravatar for Alex Reynolds
6.0 years ago by
Alex Reynolds27k
Seattle, WA USA
Alex Reynolds27k wrote:

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 COMMENTlink written 6.0 years ago by Alex Reynolds27k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 760 users visited in the last hour