OPTICSplot: Visualisation of density-based clustering of spectral...

View source: R/optics.R

OPTICSplotR Documentation

Visualisation of density-based clustering of spectral similarity data

Description

OPTICSplot() performs density-based clustering of spectral similarity data using the OPTICS algorithm like OPTICStbl and creates a reachability distance plot.

Usage

OPTICSplot(distmat, eps = 10000, minPts = 3, eps_cl = 0.5, ...)

Arguments

distmat

A distance matrix as generated by distanceMatrix.

eps

OPTICS parameters, see optics.

minPts

OPTICS parameters, see optics.

eps_cl

The reachability distance used for cluster determination, see extractDBSCAN.

...

Additional graphical parameters to be passed to plot()

Details

The function internally uses optics and extractDBSCAN from the dbscan package.

Value

A reachability distance plot as visualisation of OPTICS clustering, see codeextractDBSCAN.

See Also

OPTICStbl

Examples

load(file = system.file("extdata",
    "distmat.RData",
    package = "CluMSIDdata"))

OPTICSplot(distmat[1:50,1:50], eps_cl = 0.7)


tdepke/CluMSID documentation built on April 10, 2022, noon