bdm.labels {bigMap}R Documentation

Get data-point clustering labels.

Description

Given that clusters are computed at grid-cell level, this function returns the clustering label for each data-point.

Usage

bdm.labels(bdm, merged = T, layer = 1)

Arguments

bdm

A bdm instance as generated by bdm.init().

merged

A logical value. If TRUE (default value) and the bdm has been merged, the data-point labelling indicate the number of the merged clusters. If merged is set to FALSE or the bdm has not been merged the data-point labels correspond to the top-level clustering.

layer

The number of the t-SNE layer (1 by default).

Value

A vector of data-point clustering labels.

Examples


bdm.example()
exMap.labels <- bdm.labels(exMap)

[Package bigMap version 2.3.1 Index]