Hello!
I’m sure this is an easy fix, but I want to increase the font size of axes labels in a PCA plot. How should I do this? I’ve tried a few different variations of cex and it doesn’t do anything
Thankyou ![]()
Hello!
I’m sure this is an easy fix, but I want to increase the font size of axes labels in a PCA plot. How should I do this? I’ve tried a few different variations of cex and it doesn’t do anything
Thankyou ![]()
Assuming you’re talking about the plotIndiv() function, you’ll find your answer in the documentation. The size.xlabel and size.ylabel parameters will adjust what you want, not cex.
library(mixOmics)
data("nutrimouse")
X <- nutrimouse$gene
obj <- pca(X)
plotIndiv(obj)

plotIndiv(obj, size.xlabel = rel(2))

Created on 2022-06-21 by the reprex package (v2.0.1)