pheatmap input file
1
1
Entering edit mode
2.9 years ago
Bioinfonext ▴ 460

Hello,

Can we use DESeq2 normalise count as input for pheatmap?

x<-counts(dds6Genus,normalized=TRUE)    
heatmap(x,scale="row",color =colorRampPalette(c('blue','yellow'))(12),cluster_cols =F,show_colnames = T,cluster_row=T,border_color="NA", fontsize_row=10,fontsize =10)

Many thanks

r Qiime2 pheatmap • 1.8k views
ADD COMMENT
0
Entering edit mode
2.9 years ago
ATpoint 82k

One usually uses the normalized counts on the log scale, after Z transformation, see:

How to work out Z score for heatmaps for RNA seq dataset

ADD COMMENT
0
Entering edit mode

Is anything wrong in above command as we are taking normalize count and then in pheatmap we are doing scaling using "scale=row"?

ADD REPLY
0
Entering edit mode

That is probably the same in terms of Z score. Be sure to input counts on the log scale.

ADD REPLY
0
Entering edit mode

Thank you so much, so should I used below set of commands?

x<-counts(dds6Genus,normalized=TRUE)  
#For log transformation
x2 <- log2(x)

heatmap(x2,scale="row",color =colorRampPalette(c('blue','yellow'))(12),cluster_cols =F,show_colnames = T,cluster_row=T,border_color="NA", fontsize_row=10,fontsize =10)

Many thanks,

ADD REPLY
0
Entering edit mode

No, vst runs on the dds object, not the counts, please see ?vst.

ADD REPLY
0
Entering edit mode

Sorry,Can we just do log transformation as updated in the code. Many thanks for your quick help.

ADD REPLY

Login before adding your answer.

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