Dear all,
i have data matrix with samples on rows and genes on columns.
i am using fviz_mclust
function in factoextra
package as explained here > http://www.sthda.com/english/articles/30-advanced-clustering/104-model-based-clustering-essentials/
When plotting the clusters with this function (Visualizing model-based clustering):
fviz_mclust(mc, "classification", geom = "point",
pointsize = 1.5, palette = "jco")
i would like to use the repel=TRUE
in order to show the sample names but is not possible apparently.
Could someone tell me why or help me with this?
thanks in advance
The repel parameter is available for the
fviz_cluster()
function. To use it forfviz_mclust()
, you may have to implement repel functionality viageom_text_repel()
orgeom_label_repel()
For example:
That is untested, though.
Thanks kevin, could you please tell me or point me to a link where it's showed how to implement it? ill try to remember it for the rest of my life!
I have posted an answer.