I have already asked this question how can I annotate my heat-map with respective genes or sample
mat<-matrix(ncol=2,nrow=4) mat[,1]<-c(0.0387765,0.0306198,0,0) mat[,2]<-c(0.0407321,0,0.00212375,0.0000484229) colnames(mat)<-c("Value1","Value2") rownames(mat)<-c("DDX11L1","AL627309.2","RP11-34P13.9","OR4F29") pheatmap(mat)
this was the code i got and it works pretty good but since I gave that data was very small subset of my cuffdiff output .Now i want to do the same after filtering the cuffdiff output with some threshold value the dimension would be really huge.So I cannot use this code to construct the dataframe manually I suppose.I tried to convert the dataframe into matrix then add the gene name into the matrix when i try to plot I get this error
Error in hclust(d, method = method) :
I guess there is fundamentally wrong the way Im trying to do, any help or suggestion would be appreciated .
My filtered data filtered data set which I want to make heatmap