I am trying to rotate the graph obtained by the following lines of code.
average.shape <- mshape(croc_gpa_landmarks$coords)
plotRefToTarget(average.shape, PCA$shapes$shapes.comp1$min, links = jaw.links, label=F) #PC1 min
The plot is fine, but it is mirrored and rotated 90 degrees clockwise, making the interpretation a bit confusing to external observers.
While flipping the graph is pretty straightforward, rotating it is proving to be a nightmare. I tried to look around for tutoriald, strings of code or packages, but I am unable to solve my seemingly simple issue.