EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

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

Zheyu Zhang, Tianze Cao, Yuexia Huang, Yu Xia

Frontiers in Genetics · 27.03.2025 · 16

DOI: 10.3389/fgene.2025.1535368 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Frontiers in Genetics, online erschienen am 27.03.2025. Verfasst von Zheyu Zhang und 3 weiteren Autor:innen. Beteiligte Einrichtung: School of Mathematics, Hangzhou Normal University, Hangzhou, China. Die Arbeit wurde bisher 11-mal zitiert (Crossref) und nennt 17 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

In the R programming language, the de facto 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/ .

Schlagwörter

Stichwörter der Autor:innen

circlizefunctional programminggeneric functionsggplot2object-oriented

Autor:innen und Institutionen

  • School of Mathematics, Hangzhou Normal University, Hangzhou, China.

Zitieren

APA

Zhang, Z., Cao, T., Huang, Y., & Xia, Y. (2025). CirclizePlus: using ggplot2 feature to write readable R code for circular visualization. Frontiers in Genetics, 16. https://doi.org/10.3389/fgene.2025.1535368

Vancouver

Zhang Z, Cao T, Huang Y, Xia Y. CirclizePlus: using ggplot2 feature to write readable R code for circular visualization. Frontiers in Genetics. 2025;16. doi:10.3389/fgene.2025.1535368

BibTeX
@article{Zhang2025,
  author = {Zhang, Zheyu and Cao, Tianze and Huang, Yuexia and Xia, Yu},
  title = {CirclizePlus: using ggplot2 feature to write readable R code for circular visualization},
  journal = {Frontiers in Genetics},
  year = {2025},
  volume = {16},
  doi = {10.3389/fgene.2025.1535368}
}
Kostenlos starten →