Function to plot the cumulative variance of all the principal components of a PCA.
# S3 method for class 'PC.cumulative'
plot(
DEprot.PCA.object,
bar.color = "steelblue",
line.color = "navyblue",
title = NULL
)
An object of class DEprot.PCA
.
String indicating the color to use for the bar fill. Default: "steelblue"
.
String indicating the color to use for the line and the dots of the cumulative curve. Default: "navyblue"
.
String indicating the title of the plot (markdown annotation supported).
A barplot in ggplot format.