Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Shiny app and functions for visual exploration of hierarchical clustering.

License

NotificationsYou must be signed in to change notification settings

rhenkin/visxhclust

Repository files navigation

R-CMD-check

visxhclust is a package that includes a Shiny application forvisualexploration ofhierarchicalclustering. It is aimed atfacilitating iterative workflows of hierarchical clustering on numericdata. For that, the app allows users to quickly change parameters andanalyse and evaluate results with typical heatmaps with dendrograms andother charts. Additionally, it includes lightweight data overview plotssuch as correlation heatmaps, annotated MDS and PCA plots. On theevaluation side, it builds on existing packages to compute internalvalidation scores and Gap statistic, as well as Dunn’s test to evaluatesignificant differences between clusters.

The app includes multiple help points in the interface and a vignettedocumenting how to load data and the basic clustering loop – seevignette("visxhclust"). The package exports various functions to helpwith documenting and reproducing a clustering workflow with R or RMarkdown – seevignette("clusterworkflow") andvignette("clusterevaluation") for examples.

Installation

The latest release can be installed from CRAN:

install.packages("visxhclust")

The latest development version can be installed from GitHub:

remotes::install_github("rhenkin/visxhclust")

Most dependencies are found in CRAN. However, the heatmap drawingpackage is part ofBioconductor and mayrequire a separate installation:

install.packages("BiocManager")BiocManager::install("ComplexHeatmap")

Usage and data requirements

To use your data with the tool, you can save a data frame or tibble inan RDS file, or use comma or tab-delimited files, with .csv, .tsv or.txt extensions. The clustering method supported by the tool works onlyon numeric values; columns containing text will be set aside to annotatethe heatmap if so desired. If a column namedID exists, it will beused as an internal identifier for rows.

Clustering requires complete datasets with no missing values, NULLs orNAs. If any column contains missing values, it will be set aside to beused as a heatmap annotation. Badly formatted data will also lead tounexpected results in the tool. As an alternative, imputation packagescan be used to fill missing data and faulty rows (e.g. text in numericcolumns) should be removed before loading the file into the tool. Thetool provides limited abilities to help with diagnosing issues andpreprocessing data.

To run the app once the package is installed:

library(visxhclust)# Increases max file size to 30 MBoptions(shiny.maxRequestSize=30*1024^2)run_app()

About

A Shiny app and functions for visual exploration of hierarchical clustering.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp