DOI: 10.18129/B9.bioc.densvis  

This package is for version 3.17 of Bioconductor; for the stable, up-to-date release version, see densvis.

Density-Preserving Data Visualization via Non-Linear Dimensionality Reduction

Bioconductor version: 3.17

Implements the density-preserving modification to t-SNE and UMAP described by Narayan et al. (2020) . The non-linear dimensionality reduction techniques t-SNE and UMAP enable users to summarise complex high-dimensional sequencing data such as single cell RNAseq using lower dimensional representations. These lower dimensional representations enable the visualisation of discrete transcriptional states, as well as continuous trajectory (for example, in early development). However, these methods focus on the local neighbourhood structure of the data. In some cases, this results in misleading visualisations, where the density of cells in the low-dimensional embedding does not represent the transcriptional heterogeneity of data in the original high-dimensional space. den-SNE and densMAP aim to enable more accurate visual interpretation of high-dimensional datasets by producing lower-dimensional embeddings that accurately represent the heterogeneity of the original high-dimensional space, enabling the identification of homogeneous and heterogeneous cell states. This accuracy is accomplished by including in the optimisation process a term which considers the local density of points in the original high-dimensional space. This can help to create visualisations that are more representative of heterogeneity in the original high-dimensional space.

Author: Alan O'Callaghan [aut, cre], Ashwinn Narayan [aut], Hyunghoon Cho [aut]

Maintainer: Alan O'Callaghan <alan.ocallaghan at>

Citation (from within R, enter citation("densvis")):


To install this package, start R (version "4.3") and enter:

if (!require("BiocManager", quietly = TRUE))


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script Introduction to densvis
PDF   Reference Manual
Text   NEWS


biocViews DimensionReduction, Sequencing, SingleCell, Software, Visualization
Version 1.10.3
In Bioconductor since BioC 3.12 (R-4.0) (3 years)
License MIT + file LICENSE
Imports Rcpp, basilisk, assertthat, reticulate, irlba
LinkingTo Rcpp
Suggests knitr, rmarkdown, BiocStyle, ggplot2, Rtsne, uwot, testthat
Depends On Me OSCA.advanced
Imports Me scater
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package densvis_1.10.3.tar.gz
Windows Binary
macOS Binary (x86_64) densvis_1.10.3.tgz
macOS Binary (arm64)
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: