how to change the heatmap color of ConsensusClusterPlus
1
0
Entering edit mode
4.9 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!

RNA-Seq gene • 2.0k views
ADD COMMENT
0
Entering edit mode

I have an another question, how to display the sample name as colnames or rownames when we plot heatmap? thank you very much!

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Hi @zhao03, I am using the ConsensusClusterPlus package but I don't know how to view the plots. can you help?

ADD REPLY
0
Entering edit mode
4.9 years ago
zhao03 ▴ 70

sorry , i forget to read manual . tmyPal=c("blue","red")) it can change colors

ADD COMMENT

Login before adding your answer.

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