Question: Generating cluster heat map
1
gravatar for fathimashihana
2.2 years ago by
fathimashihana10 wrote:

I wanted to plot cluster dendrogram for 234 selected microRNA in Control and Study group like following figure. http://i.imgur.com/5DJt2wl.png?1

Could anyone provide me the instruction and script in R programs to make the plot?

R • 1.3k views
ADD COMMENTlink modified 7 weeks ago by Renesh1.8k • written 2.2 years ago by fathimashihana10
0
gravatar for Hussain Ather
2.2 years ago by
Hussain Ather940
National Institutes of Health, Bethesda, MD
Hussain Ather940 wrote:

What you've linked looks like it was made with seaborn.clustermap in python, not R. If you are okay with using python to use seaborn instead of R, you could write it was

import seaborn as sns

fig = plt.figure()
clustermap = sns.clustermap(array)
fig.savefig(output)

in which array is a DataFrame of your data and output is the name of your output file. You can use pandas to create a DataFrame through a few different methods.

ADD COMMENTlink written 2.2 years ago by Hussain Ather940
0
gravatar for Jean-Karim Heriche
2.2 years ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche21k wrote:

For heatmaps in R, look here.

ADD COMMENTlink written 2.2 years ago by Jean-Karim Heriche21k
0
gravatar for EagleEye
2.2 years ago by
EagleEye6.5k
Sweden
EagleEye6.5k wrote:

I would recommend ComplexHeatmap (comes with more functionality). Check my previous post for simple example code.

ADD COMMENTlink modified 2.2 years ago • written 2.2 years ago by EagleEye6.5k
0
gravatar for Renesh
7 weeks ago by
Renesh1.8k
United States
Renesh1.8k wrote:

https://reneshbedre.github.io/blog/hmap.html

ADD COMMENTlink written 7 weeks ago by Renesh1.8k
Please log in to add an answer.

Help
Access

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