OPTICStbl: Density-based clustering of spectral similarity data

Description Usage Arguments Details Value See Also Examples

View source: R/optics.R

Description

OPTICStbl() performs density-based clustering of spectral similarity data using the OPTICS algorithm.

Usage

1
OPTICStbl(distmat, eps = 10000, minPts = 3, eps_cl = 0.5)

Arguments

distmat

A distance matrix as generated by distanceMatrix.

eps, minPts

OPTICS parameters, see optics.

eps_cl

The reachability distance used for cluster determination, see extractDBSCAN.

Details

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

Value

A data.frame with feature name, cluster ID and OPTICS order for each feature in distmat.

See Also

OPTICSplot

Examples

1
2
3
4
5
load(file = system.file("extdata",
    "distmat.RData",
    package = "CluMSIDdata"))

my_OTPICStbl <- OPTICStbl(distmat[1:50,1:50], eps_cl = 0.7)

CluMSID documentation built on Nov. 8, 2020, 7:46 p.m.