densvis
Bioc currentDensity-Preserving Data Visualization via Non-Linear Dimensionality Reduction
Release Lineage
Entered 3.12 · Oct 28, 2020
Current · Requires R 4.6
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.
Call graph
Open 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
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
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Examples that run
- 100%
- Documented parameters
- 92%
- Return-value docs
- 100%
- References docs
- 100%
Topics
Depended on by (2)
Bioconductor (2)
People
- Alan O'Callaghan author maintainer
- Hyunghoon Cho author
- Ashwinn Narayan author
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("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.
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.