Skip to contents

Plot PCA Variance (Scree Plot)

Usage

ls_plot_scree(pca)

Arguments

pca

A libs_pca object.

Value

A ggplot2 object.

Examples

ds <- ls_example_data("tissue")
pca <- ls_pca(ds, n_components = 6)
ls_plot_scree(pca)