Hello,
I have grouped some genes with hierarchical clustering and want to show the 'profile' of these groups in a plot. I found a nice plot called dotchart, which nicely summarizes the (z-scores) of the genes per sample. However, I would like to switch the x and y axis, but it seems impossible... From the manual (?dotchart
) I cannot find a way to do this.
Does anyone has an idea how to do this?
Code:
dotchart(as.matrix(z_score_1[,3:20]), labels = "", pch=20, lcolor = "white", main="cluster 1")
I guess your second option is easiest, thanks!