custom cluster or split heatmap?
0
0
Entering edit mode
3.9 years ago
Kai_Qi ▴ 130

I begin to use ComplexHeatmap to plot the dymamic change of values across different development stages in R.

  1. I started from two dataframe, for example df_1 and df_2, I merged them into df_3 (df_3 <- rbind(df_1, df_2). I have plot Heatmap on df_3, but I want the heatmap to be able to split by data from df_1 and df_2.

    So My first question is: Is it possible to cluster the heatmap myself?

  2. from the plot of df_3, I saw the dynamic change of values, some are increased as: stage1<stage2<stage3<stage4; some are static: stage1=stage2=stage3=stage4, some are are increase first but drop at later stage: ie stage1<stage2>stage3>stage4 and so on.

    My second question is: Is there any way to extract the information (row# in df_3) of these subcluster, so I can know which genes belong to which category?

Many thanks,

R software error RNA-Seq • 2.1k views
ADD COMMENT
1
Entering edit mode

ComplexHeatmap gives you options to split rows and cluster within each split. Please read the manual section heatmap-split

It also allows you to get row order. Read section Set row and column orders.

Please always read the manual well before asking for help. There is no need for the software-error tag, there is no error here.

ADD REPLY

Login before adding your answer.

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