Visualise Clusterings at Different Resolutions

Deciding what resolution to use can be a difficult question when approaching a clustering analysis. One way to approach this problem is to look at how samples move as the number of clusters increases. This package allows you to produce clustering trees, a visualisation for interrogating clusterings as resolution increases.


clustree

Project Status Lifecycle: stable R-CMD-check [Coverage Status]https://app.codecov.io/github/lazappi/clustree?branch=master) CodeFactor CRAN Status CRAN Monthly Downloads CRAN Downloads

Deciding what resolution to use can be a difficult question when approaching a clustering analysis. One way to approach this problem is to look at how samples move as the number of clusters increases. This package allows you to produce clustering trees, a visualisation for interrogating clusterings as resolution increases.

Installation

You can install the release version of clustree from CRAN with:

install.packages("clustree")

If you want to use the development version that can be installed from GitHub using the remotes package:

# install.packages("remotes")
remotes::install_github("lazappi/clustree@develop")

To also build the vignettes use:

# install.packages("remotes")
remotes::install_github("lazappi/clustree@develop", dependencies = TRUE,
                         build_vignettes = TRUE)

NOTE: Building the vignettes requires the installation of additional packages.

Documentation

The documentation for clustree is available from CRAN at https://cran.r-project.org/package=clustree.

To view the vignette and all the package documentation for the development version visit http://lazappi.github.io/clustree.

Citing clustree

If you use clustree or the clustering trees approach in your work please cite our publication "Zappia L, Oshlack A. Clustering trees: a visualization for evaluating clusterings at multiple resolutions. Gigascience. 2018;7. DOI:gigascience/giy083.

citation("clustree")
 
   Zappia L, Oshlack A. Clustering trees: a visualization for
   evaluating clusterings at multiple resolutions. GigaScience.
   2018;7. DOI:gigascience/giy083
 
A BibTeX entry for LaTeX users is
 
   @Article{,
     author = {Luke Zappia and Alicia Oshlack},
     title = {Clustering trees: a visualization for evaluating clusterings at
              multiple resolutions},
     journal = {GigaScience},
     volume = {7},
     number = {7},
     month = {jul},
     year = {2018},
     url = {http://dx.doi.org/10.1093/gigascience/giy083},
     doi = {10.1093/gigascience/giy083},
   }

Contributors

Thank you to everyone who has contributed code to the clustree package:

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("clustree")

0.5.1 by Luke Zappia, 3 years ago


https://github.com/lazappi/clustree, https://lazappi.github.io/clustree/


Report a bug at https://github.com/lazappi/clustree/issues


Browse source code at https://github.com/cran/clustree


Authors: Luke Zappia [aut, cre] , Alicia Oshlack [aut] , Andrea Rau [ctb] , Paul Hoffman [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports checkmate, igraph, dplyr, grid, ggplot2, viridis, methods, rlang, tidygraph, ggrepel

Depends on ggraph

Suggests testthat, knitr, rmarkdown, SingleCellExperiment, Seurat, covr, SummarizedExperiment, pkgdown, spelling


Imported by crosshap, scRNAstat.

Suggested by CIARA, MitoHEAR, plotthis.


See at CRAN