Displays a scree plot of the current principal component analysis data stored in the object.

plotPcaVariation(object, n_pcs = NULL, of_sample = NA)

Arguments

object

A valid spata-object.

of_sample

This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.

Value

Returns a ggplot-object that can be additionally customized according to the rules of the ggplot2-framework.