Skip to contents

plot_scree

Usage

plot_scree(sv = NULL, eigs = NULL, p_perm = NULL, a_thr = 0.05)

Arguments

sv

singular values

eigs

eigenvalues

p_perm

permuted p values for each component

a_thr

alpha threshold for significance of permuted p values (default: 0.05)

Value

patchwork/ggplot object containing scree and cumulative variance plots.

Examples

plot_scree(eigs = c(4, 2, 1, 0.5))