Package: opticskxi 1.2.2

Thomas Charlon

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/>.

Authors:Thomas Charlon [aut, cre]

opticskxi_1.2.2.tar.gz
opticskxi_1.2.2.tar.gz(r-4.7-any)opticskxi_1.2.2.tar.gz(r-4.6-any)
opticskxi_1.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
opticskxi/json (API)
NEWS

# Install 'opticskxi' in R:
install.packages('opticskxi', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://gitlab.com/thomaschln/opticskxi

Datasets:
  • crohn - Crohn's disease data
  • hla - The HLA data
  • m_psych_embeds - A dataset containing the embeddings matrix of psychological related words
  • multishapes - A dataset containing clusters of multiple shapes

On CRAN:

Conda:

2.78 score 1 packages 2 scripts 611 downloads 24 exports 20 dependencies

Last updated from:72964e3bc9. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK188
source / vignettesOK236
linux-release-x86_64OK169
wasm-releaseOK111

Exports:%<>%%>%%$%contingency_tablecosine_simidist_matrixensemble_metricsensemble_modelsfortify_dimredfortify_icafortify_pcaget_best_kxiggpairsggplot_kxi_metricsggplot_opticsgtable_kxi_profilesnice_palettenorm_inprodnormalizeopticskxiopticskxi_pipelineprint_vignette_tableresiduals_tablestddev_mean

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Ensemble Metrics And Models For Density-Based Clustering

Rendered fromensemble_metrics.Rnwusingutils::Sweaveon Jun 10 2026.

Last update: 2025-02-26
Started: 2025-02-26

OPTICS K-Xi Density-Based Clustering

Rendered fromopticskxi.Rnwusingutils::Sweaveon Jun 10 2026.

Last update: 2026-06-10
Started: 2019-07-18