CirclizePlus: using ggplot2 feature to write readable R code for circular visualization

In the R programming language, the <i>de facto</i> standard framework for drawing rectangular coordinates is ggplot2. The most important feature of ggplot2 is that it is object-oriented and uses the plus sign to overlay various objects. In the field of circular visualization, circlize is a popular software, but it is based on procedural programming. Making it object-oriented can make the logic of the written code clearer and improve the reusability of the code. In this work, we introduce circlizePlus, which redesigns the concepts in circular visualization into several R S4 classes. It also defines a set of additional rules, based on which users can implement ggplot2-like drawing techniques. circlizePlus is a wrapper for circlize. It transforms the procedural programming style of circular visualization drawing into object-oriented programming. The additional rules it defines reduce the amount of coding and make the code more readable. The source codes can be found at https://github.com/tianzelab/circlizePlus, and the sample code can be found at https://tianzelab.github.io/circlizePlusBook/.

Authors

Institutions

Publication Details

Journal
Frontiers in Genetics
Published
2025-03-27
DOI
https://doi.org/10.3389/fgene.2025.1535368
Citations
8
Primary Topic
Metabolomics and Mass Spectrometry Studies
Type
article
Field-Weighted Citation Impact
7.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CirclizePlus: using ggplot2 feature to write readable R code for circular visualization

Yuexia Huang, Tianze Cao, Zheyu Zhang, Xia Yu
8 citations
Frontiers in Genetics
Metabolomics and Mass Spectrometry Studies
7.25
article

CirclizePlus: using ggplot2 feature to write readable R code for circular visualization

Yuexia Huang, Tianze Cao, Zheyu Zhang, Xia Yu
article en
8 citations

Abstract

In the R programming language, the <i>de facto</i> standard framework for drawing rectangular coordinates is ggplot2. The most important feature of ggplot2 is that it is object-oriented and uses the plus sign to overlay various objects. In the field of circular visualization, circlize is a popular software, but it is based on procedural programming. Making it object-oriented can make the logic of the written code clearer and improve the reusability of the code. In this work, we introduce circlizePlus, which redesigns the concepts in circular visualization into several R S4 classes. It also defines a set of additional rules, based on which users can implement ggplot2-like drawing techniques. circlizePlus is a wrapper for circlize. It transforms the procedural programming style of circular visualization drawing into object-oriented programming. The additional rules it defines reduce the amount of coding and make the code more readable. The source codes can be found at https://github.com/tianzelab/circlizePlus, and the sample code can be found at https://tianzelab.github.io/circlizePlusBook/.

Frontiers in GeneticsVol. 16
Hangzhou Normal University (CN)
Openalex Percentile: Top 3%
Metabolomics and Mass Spectrometry Studies
7.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

CirclizePlus: using ggplot2 feature to write readable R code for circular visualization — Yuexia Huang, Tianze Cao, et al. · Frontiers in Genetics (2025) | TGRS Research Map | TGRS