Skip to content

andeek/protoshiny

Repository files navigation

protoshiny

Travis build status

This package launches a Shiny app to interactively visualize hierarchical clustering with prototypes as described in “Interactive Exploration of Large Dendrograms with Prototypes” by Andee Kaplan & Jacob Bien (2022).

For details on hierarchical clustering with prototypes, see “Hierarchical Clustering With Prototypes via Minimax Linkage” by Jacob Bien & Robert Tibshirani (2011).

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("andeek/protoshiny")

Launching the app

# launch the app
library(protoshiny)
visualize_hc()

Using the app

After launching the application, either upload your own cluster object or use the provided demo data sets. To use the provided demo data sets, simply select one from the dropdown. To quickly get to interacting with the dendrogram, you can leave all other options as the default and click the “Visualization” tab.

If you would like to upload your own data set hierarchical clustering object, select its location on your computer.

Once you have chosen the data set clustering to visualize, you can specify more options in the application. To specify image labels for each prototype in the dendrogram, select their location on your computer.

If you would like your initial view of the dendrogram to be a dynamic cut (provided by the dynamicTreeCut package), you can choose the minimum size of the final clusters resulting from the cut.

Once all of the options are chosen, click the “Visualization” tab to interact with the dendrogram.

Your abilities to interact with the dendrogram include expanding/contracting clusters,

zooming and panning,

and searching for the first instance of a label.

About

Shiny app to interactively visualize hierarchical clustering with prototypes.

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE.md
Unknown
LICENSE.note

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published