PlotEigengap: Plots eigenvalues to investigate the optimal number of...

View source: R/countland_embed.R

PlotEigengapR Documentation

Plots eigenvalues to investigate the optimal number of clusters

Description

Plots eigenvalues to investigate the optimal number of clusters

Usage

PlotEigengap(C)

Arguments

C

countland object

Value

generates plot of eigenvalues by number of components

Examples

gold_path <- system.file("testdata", package = "countland", mustWork = TRUE)
gold.data <- Seurat::Read10X(data.dir = gold_path)
C <- countland(gold.data)
C <- Dot(C)
C <- Embed(C,n_components=5)
PlotEigengap(C)

countland documentation built on May 29, 2024, 7:13 a.m.