plotPcaVariation.Rd
Displays a scree plot of the current principal component analysis data stored in the object.
plotPcaVariation(object, n_pcs = NULL, ...)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Numeric value or NULL
. If numeric, specifies the number of
principal components to use. If NULL
, all principal components are used
(as computed with runPCA()
).
Used to absorb deprecated arguments or functions.
Returns a ggplot that can be additionally customized according to the rules of the ggplot2 framework.