Question: How to fix column order with pheatmap?
0
gravatar for Alicia
13 months ago by
Alicia0
Germany
Alicia0 wrote:

Dear all, I want to generate a pheatmap with rlog values from DEseq, and I want to put the samples with higher expression value to the right side, and the samples with lower expression values to the left side. Therefore I can compare the results from different experiments. Do you have any suggestions how to make that happen?

pheatmap column order • 1.4k views
ADD COMMENTlink written 13 months ago by Alicia0

Sort the columns based on expression and use cluster_cols=FALSE.

ADD REPLYlink written 13 months ago by arup1.9k

Hi, arup, thanks a lot.

ADD REPLYlink written 13 months ago by Alicia0
0
gravatar for cpad0112
13 months ago by
cpad011212k
India
cpad011212k wrote:

as mentioned in this post, How to regroup columns in R using heatmap.2 or pheatmap ?, reorder the matrix as per your requirement and then as arup said below, do not cluster the cols. @ Alicia

ADD COMMENTlink written 13 months ago by cpad011212k

Thank you very much. I missed the post you mentioned when I searched it. The method is quite strightforward.

ADD REPLYlink written 13 months ago by Alicia0

np. upvote the original post if it is helpful. Alicia

ADD REPLYlink written 13 months ago by cpad011212k
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: 2305 users visited in the last hour