Skip to content

densvis

Bioc current

Density-Preserving Data Visualization via Non-Linear Dimensionality Reduction

v1.22.0 · software · MIT + file LICENSE

Release Lineage

Entered 3.12 · Oct 28, 2020

Current · Requires R 4.6

1.0 In 12 of 49 releases 3.23

Description

Implements the density-preserving modification to t-SNE and UMAP described by Narayan et al. (2020) <doi:10.1101/2020.05.12.077776>. 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.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

62 3 exported

Complexity

7.1 avg / 38 max

Call network

62 nodes / 26 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

3,372

Files

34

Compiled share

62.9%

Has compiled src

Yes

Language breakdown

R 661 (19.6%)C/C++/src 2,122 (62.9%)Tests 74 (2.2%)Docs 334 (9.9%)Vignettes 181 (5.4%)

API

Exported functions

3

Internal functions

5

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

CI present

Yes

CI type

["github-actions"]

PR gated

Yes

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2021-01-26

Latest release

2026-04-28

Avg cadence

175 days

Cold removal rate

Dep drift

2

LOC over versions

v3.12: 3,193 LOCv3.13: 3,271 LOCv3.14: 3,271 LOCv3.15: 3,271 LOCv3.16: 3,364 LOCv3.17: 3,365 LOCv3.18: 3,365 LOCv3.19: 3,371 LOCv3.20: 3,371 LOCv3.21: 3,371 LOCv3.22: 3,372 LOCv3.23: 3,372 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
92%
Return-value docs
100%
References docs
100%

Topics

Depended on by (2)

Bioconductor (2)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("densvis")
O'Callaghan, A., Cho, H., & Narayan, A. (2026). densvis: Density-Preserving Data Visualization via Non-Linear Dimensionality Reduction (Version 1.22.0) [Computer software]. https://bioconductor.org/packages/densvis

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for densvis version 1.22.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy