Skip to contents

Run hdbscan on a distance matrix and gather some information.

Usage

extractHDBSCAN(dstmtx, minPts = 8, includePlot = FALSE)

Arguments

dstmtx

Distance matrix

minPts

Minimum points for hdbscan

includePlot

Whether too include the plot (requires cowplot.)

Value

List: the df element is a tibble with information per token:

  • _id: comes from the rownames of dstmtx

  • cluster: gives the clustering of the elements

  • membprob: indicates membership probabilities

  • eps: returns the epsilon value

If includePlot is TRUE, a grob of the plot is included under hplot.