how to create heat map using ggplot2 in R?
0
0
Entering edit mode
3.3 years ago

I have .Rtab data in which have 5 columns and 4311 rows...how to set them all on the axes? please help

R • 1.8k views
ADD COMMENT
0
Entering edit mode

Please find the ggplot2 heat map demo. pheatmap is also a very good option for heatmap generation in R. However, 4311 rows is a very high number and you can set top 50/100 to show in heatmap.

ADD REPLY
0
Entering edit mode

but how I will set, I have to create heat map on entire data

ADD REPLY
0
Entering edit mode

Though ggplot can output heatmap, but please consider using dedicated libraries such as complexheatmap, pheatmap etc.

ADD REPLY
0
Entering edit mode

There are really plenty of posts on heatmapping. For pure ggplot2 try e.g. https://github.com/XiaoLuo-boy/ggheatmap. Another package beyond those mentioned already would be ComplexHeatmap.

ADD REPLY
0
Entering edit mode

yes I have to first extract data.... how I will extract accessory genome from core using excel? guide please

ADD REPLY
0
Entering edit mode

Look, we can neither see your screen, nor do you provide any information on how your data look. This question cannot be answered. Please show some effort and add suitable example data.

ADD REPLY

Login before adding your answer.

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