opticskxi: OPTICS K-Xi Density-Based Clustering

Density-based clustering methods are well adapted to the clustering of high-dimensional data and enable the discovery of core groups of various shapes despite large amounts of noise. This package provides a novel density-based cluster extraction method, OPTICS k-Xi, and a framework to compare k-Xi models using distance-based metrics to investigate datasets with unknown number of clusters. The vignette first introduces density-based algorithms with simulated datasets, then presents and evaluates the k-Xi cluster extraction method. Finally, the models comparison framework is described and experimented on 2 genetic datasets to identify groups and their discriminating features. The k-Xi algorithm is a novel OPTICS cluster extraction method that specifies directly the number of clusters and does not require fine-tuning of the steepness parameter as the OPTICS Xi method. Combined with a framework that compares models with varying parameters, the OPTICS k-Xi method can identify groups in noisy datasets with unknown number of clusters. Results on summarized genetic data of 1,200 patients are in Charlon T. (2019) <doi:10.13097/archive-ouverte/unige:161795>. A short video tutorial can be found at <https://www.youtube.com/watch?v=P2XAjqI5Lc4/>.

Package details

AuthorThomas Charlon [aut, cre] (ORCID: <https://orcid.org/0000-0001-7497-0470>)
MaintainerThomas Charlon <charlon@protonmail.com>
LicenseGPL-3
Version1.2.2
URL https://gitlab.com/thomaschln/opticskxi
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("opticskxi")

Try the opticskxi package in your browser

Any scripts or data that you put into this service are public.

opticskxi documentation built on June 10, 2026, 5:07 p.m.