How to edit graphic out through ggplot2

How can mixOmic results be customized like fig5? https://doi.org/10.1038/s41591-019-0450-2
Thank for your help~

Hi @wlwl
You can try style = graphics in plotVar so that you can add more options to you plot (using then the R base functions text, points etc.
Otherwise you can extract the coordinates and customise as you would like:

data(nutrimouse)
X <- nutrimouse$lipid
Y <- nutrimouse$gene
nutri.res <- rcc(X, Y, ncomp = 3, lambda1 = 0.064, lambda2 = 0.008)

coord <-plotVar(nutri.res)
coord$x
coord$y

hope that helps,
Kim-Anh