Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Dec 6;3(1):vbad179.
doi: 10.1093/bioadv/vbad179. eCollection 2023.

escheR: unified multi-dimensional visualizations with Gestalt principles

Affiliations

escheR: unified multi-dimensional visualizations with Gestalt principles

Boyi Guo et al. Bioinform Adv. .

Abstract

Summary: The creation of effective visualizations is a fundamental component of data analysis. In biomedical research, new challenges are emerging to visualize multi-dimensional data in a 2D space, but current data visualization tools have limited capabilities. To address this problem, we leverage Gestalt principles to improve the design and interpretability of multi-dimensional data in 2D data visualizations, layering aesthetics to display multiple variables. The proposed visualization can be applied to spatially-resolved transcriptomics data, but also broadly to data visualized in 2D space, such as embedding visualizations. We provide an open source R package escheR, which is built off of the state-of-the-art ggplot2 visualization framework and can be seamlessly integrated into genomics toolboxes and workflows.

Availability and implementation: The open source R package escheR is freely available on Bioconductor (https://bioconductor.org/packages/escheR).

PubMed Disclaimer

Conflict of interest statement

None declared.

Figures

Figure 1.
Figure 1.
escheR enables multidimensional spatial visualizations following the Gestalt principles of design. (A and B) The traditional visualization displays the colocalization plot of the expression of two genes EFNA5 and EPHA5 (A) and the spatial domains from the dorsolateral prefrontal cortex in postmortem human brain (Huuki-Myers et al. 2023) (B) side-by-side, creating challenges to cognitively connecting colocalization status to spatial domains. (C) The watercolor effect enables displaying spatial domains by color-coding only outlines of circles. (D) escheR enables the multidimensional in situ visualization that simultaneously displays the cortex layers and the colocalization status, substantially improving interpretability.
Figure 2.
Figure 2.
escheR improves multidimensional embedding visualizations. The gene expression of POMGNT1 among peripheral blood mononuclear cells (Hansen et al., 2022) under the UMAP representation. (A) The schex R/Bioconductor package uses color-coded convex hulls to annotate data-driven cell types, creating confusion when interpreting hexagons in overlapping hulls. (B) escheR plots hexagon-specific membership to avoid substantial overlapping of cluster membership. Due to the binning strategy, cautions in interpretation are needed due to possible cluster intermixing within each hexagon.

Update of

References

    1. Amezquita RA, Lun AT, Becht E. et al. Orchestrating single-cell analysis with bioconductor. Nat Methods 2020;17:137–45. - PMC - PubMed
    1. Dries R, Chen J, Del Rossi N. et al. Advances in spatial transcriptomic data analysis. Genome Res 2021;31:1706–18. - PMC - PubMed
    1. Freytag S, Lister R.. schex avoids overplotting for large single-cell RNA-sequencing datasets. Bioinformatics 2020;36:2291–2. - PubMed
    1. Hansen KD, Risso D, Hicks SC. TENxPBMCData: PBMC data from 10X genomics. R Package Version 1.20.0. 2022. https://bioconductor.org/packages/TENxPBMCData (15 October 2023, date last accessed).
    1. Hao Y, Hao S, Andersen-Nissen E. et al. Integrated analysis of multimodal single-cell data. Cell 2021;184:3573–87.e29. - PMC - PubMed