R/dimension_reduction.R
create_screeplot.Rd
create screeplot with ggplot
create_screeplot(eigs, ncp = 20, ylim = c(0, 20))
numeric. Vector of pca eigenvalues
numeric. max number of principal components to plot
numeric. y-axis limits on scree plot
ggplot
dr <- GiottoData::loadSubObjectMini("dimObj") scree <- create_screeplot(methods::slot(dr, "misc")$eigenvalues) scree