Entering edit mode
5.5 years ago
zhao03
▴
70
R package "ConsensusClusterPlus " can be used to cluster samples. but how to change the heatmap colors, i can not find the setting.
results = ConsensusClusterPlus(d,maxK=6,reps=50,pItem=0.8,pFeature=1,title=title,clusterAlg="hc",distance="pearson",seed=1262118388.71279,plot="png")
thank you for your help!
I have an another question, how to display the sample name as colnames or rownames when we plot heatmap? thank you very much!
Hi @Zhao03, Did you figured out the answer you were looking for displaying the sample names as column names or row names? Please share your experience.
Thanks
I can not display sample names as column names. but results[[2]][["consensusClass"]] and results[[2]][["consensusTree"]]["order"] can help us to find out which samples in clusters
Hi @zhao03, I am using the ConsensusClusterPlus package but I don't know how to view the plots. can you help?