Closed bgovaerts closed 1 year ago
I added the argument ang_x_axis
to plotLine
to manually change the angle of the x axis text.
Examples of use:
data(UCH)
# plotLine
plotLine(Y = UCH$outcomes, rows = c(1:4), hline = NULL, ang_x_axis = 45)
# lmpLoading1dPlot
resLmpModelMatrix = lmpModelMatrix(UCH)
resLmpEffectMatrices = lmpEffectMatrices(resLmpModelMatrix)
resASCA = lmpPcaEffects(resLmpEffectMatrices)
lmpLoading1dPlot(resASCA, effectNames = c("Hippurate", "Citrate"),
ang_x_axis = 90)
In plotLine, would it be possible to add an argument to write the labels of the x-axis vertically. This is very useful when the type of the axis is a character. The argument ang="90" available in a previous version is not available any more. OR If this is possible with a ggplot parameters, a good think could be to tell it in the help of the function.
Adding it to the plot after (its p+ theme(axis.text.x = element_text(angle = 90, vjust = 0.2, hjust=1))) is not possible in some functions where the output is a list of plots (e.g. lmpLoading1dPlot) THANKS !