getLocalOptima: Function that fetches the local optima from a density...

View source: R/AssignMutations.R

getLocalOptimaR Documentation

Function that fetches the local optima from a density function call output

Description

Function that fetches the local optima from a density function call output

Usage

getLocalOptima(cluster_density, hypercube.size = 20)

Arguments

cluster_density

Density estimate of where clusters are located

hypercube.size

Stepsize to use when stepping through the density looking for optima

Value

A list containing two fields: localOptima, the location of a peak and peak.indices, the index of the peak within a hypercube

Author(s)

sd11, dw9


Wedge-Oxford/dpclust documentation built on July 6, 2024, 2:02 p.m.