{
data(NCI60Selec)
Z2<-DiStatis(NCI60Selec,Scale=TRUE,Center=TRUE)
Colores2<-c(rep(colors()[657],5),rep(colors()[637],6),
rep(colors()[537],7),rep(colors()[552],6),rep(colors()[57],10),
rep(colors()[300],9),rep(colors()[461],7),rep(colors()[450],2),
rep(colors()[432],8))
Colores1<-c(rep("Breast",5),rep("CNS",6),rep("Colon",7),
rep("Leukemia",6),rep("Melanoma",10),rep("Lung",9),rep("Ovarian",7),
rep("Prostate",2),rep("Renal",8))
CompPlot(Z2,xlabBar="",colObs=Colores2,pch=15,las=1,
cex=2,legend=FALSE,barPlot=FALSE,cex.main=0.6,cex.lab=0.6,
cex.axis=0.6,las=1)
legend("topleft",unique(Colores1),col=unique(Colores2),
bty="n",pch=16,cex=1)
}Run the code above in your browser using DataLab