No retraction, correction or concern found when last checked on Oct 16, 2026.
RCircos: an R package for Circos 2D track plots
Hongen Zhang, Paul Meltzer, Sean Davis
BMC Bioinformatics · 2013
Abstract
Background. Circos is a Perl language based software package for visualizing similarities and differences of genome structure and positional relationships between genomic intervals. Running Circos requires extra data processing procedures to prepare plot data files and configure files from datasets, which limits its capability of integrating directly with other software tools such as R. Recently published R Bioconductor package ggbio provides a function to display genomic data in circular layout based on multiple other packages, which increases its complexity of usage and decreased the flexibility in integrating with other R pipelines.
Results. We implemented an R package, RCircos, using only R packages that come with R base installation. The package supports Circos 2D data track plots such as scatter, line, histogram, heatmap, tile, connectors, links, and text labels. Each plot is implemented with a specific function and input data for all functions are data frames which can be objects read from text files or generated with other R pipelines.
Conclusion. RCircos package provides a simple and flexible way to make Circos 2D track plots with R and could be easily integrated into other R data processing and graphic manipulation pipelines for presenting large-scale multi-sample genomic research data. It can also serve as a base tool to generate complex Circos images.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 16, 2026. Paragraph numbers are ours, so an answer can point at one.
Background
Circos is a Perl language based software package for visualizing similarities and differences of genome structure and positional relationships between genomic intervals. Although many tools for genomic data visualization have been developed, Circos is commonly used by the genome research community to present large-scale multi-sample genomic research data (http://circos.ca/in_literature/scientific/). While Circos is powerful and flexible in displaying genomic data it requires extra data procedures to prepare plot data files and configuration files from datasets, which limits its capability of integrating directly with other software tools such as R, one of the most commonly used toolsets in processing and statistical analysis of genomic data.
Recently, Yin et al. published a Bioconductor package, ggbio, that includes a function to display genomic data in a circular layout and covers many of the basic Circos-like plots. The ggbio package relies on multiple other packages and offers some integration with other Bioconductor packages. However, ggbio is somewhat complex (but powerful) and relies on high-level plotting packages. RCircos was developed as a simple and flexible approach to Circos-like plots that uses base R graphics.
To make Circos 2D track plots simple and flexible, we implemented an R package, RCircos, that relies on base graphics and R data structures. With RCircos, Circos 2D track plots could be easily generated and the procedures can be effectively integrated with other R pipelines including graphics output manipulation.
Implementation
Packages used to build RCircos are all included in the R base installation (http://www.r-project.org/). Graphics functionality is accomplished using base R graphics. No other package is required unless input data is associated with special data structure such as GenomicRanges objects and need to be processed separately.
To reduce the complexity of the usage, all functions in RCircos use a simple data frame as input. The first three columns of the data frame are genomic position data in the order of chromosome name, start position, and end position followed by one or more data columns except of link data which requires paired chromosome positions for each row. Data set in data frame is directly passed to the plot function without need of further processing. Sample data are included in the package to show the input data formats and can be easily explored with data(package = “RCircos”) function.
We follow the layout paradigm set forth by Circos and arrange data plots by tracks. The core track is the chromosome ideogram track with highlighting and labels. Data plot tracks can be placed inside or outside of chromosome ideogram track. A set of parameters is used to control the plot pattern such as chromosome width, number of base pairs per chromosome unit, track height, and point type. These parameters are initialized prior to plotting but can be customized to meet the requirements of different plot types.
RCircos is designed such that each type of Circos 2D track plot is drawn with a separate and dedicated function call. To make RCircos more flexible in integrating with other R pipelines, we chose low level plot functions of R including points, lines, polygon, and text to implement graphic plot functions of RCircos. All RCircos plots work on an existing plot facilitating plot customization using standard R plot functionality.
Result and discussion
RCircos implements most of Circos 2D track plots including scatter, line, histogram, heatmaps, tiles, connectors, and text labels. We use the chromosome ideogram tables from UCSC genome browser to generate chromosome ideogram images and currently human, mouse, and rat are available in RCircos, but other species can be supported if relevant ideogram table is provided in a same format as cytoBandIdeo table in the UCSC genome browser.
A set of demos and a complete vignette are included in the package to show the RCircos plot procedures for each Circos 2D track plot type. Figure 1 was generated using the code below with build-in datasets and default parameters showing the human chromosome ideogram track along with data tracks for connectors, gene labels, heatmap, scatter plot, line plot, histogram, tiles, and link lines.
Since we implemented the RCircos plots with base R graphics, combining RCircos with other R plot functions is straightforward. Figure 2 show a heatmap generated with demo (“R.Circos.Demo.Mouse.And.Rat”) with blue and red colors for comparison of gene expression between mouse and rat (GEO data accession number: GSE42081) and link lines between top 50 highly expressed genes in mouse and the same genes in rat. Legend and color key for the heatmap were added with the legend and image functions.
Conclusions
The RCircos package provides simple and flexible functionality to generate Circos 2D track plots with R and can be easily integrated into other R data processing and graphic manipulation pipelines to present large-scale multi-sample genomic research data.
Availability and requirements
The package and source code of RCircos are available for download and install from CRAN website (http://www.r-project.org) with the license of GPL (> = 2).
Competing interests
The authors declare that they have no competing interests.
Author’s contributions
HZ designed and implemented the software package, and wrote manuscript. SD participated in the software design and drafted the manuscript. PM revised the manuscript critically. All authors read and approved the final manuscript.
References 7
- 1.
Krzywinski M Schein J Birol I Connors J Gascoyne R Horsman D Jones SJ Marra MA Circos: an information aesthetic for comparative genomicsGenome Res2009 1916391645
Not in our library10.1101/gr.092759.109
- 2.
Nielsen CB Cantor M Dubchak I Gordon D Wang T Visualizing genomes: techniques and challengesNat Methods2010 73 SupplS5S15
Not in our library10.1038/nmeth.1422
- 3.
Schroeder MP Gonzalez-Perez A Lopez-Bigas N Visualizing multidimensional cancer genomics dataGenome Med2013 519
Not in our library10.1186/gm413
- 4.
Miller CA Anthony J Meyer MM Marth G Scribl: An HTML5 Canvas-based graphics library for visualizing genomic data over the webBioinformatics2013 29381383
Not in our library10.1093/bioinformatics/bts677
- 5.
Zhu Z Niu B Chen J Wu S Sun S Li W MGAviewer: A desktop visualization tool for analysis of metagenomics alignment dataBioinformatics2013 29122123
Not in our library10.1093/bioinformatics/bts567
- 6.
- 7.
Kuhn RM Haussler D Kent WJ The UCSC genome browser and associated toolsBrief Bioinform2012
Not in our library10.1093/bib/bbs038
Cited by papers we hold 21
- Bioinformatics analysis of Rho-signal transduction genes in postmenopausal osteoporosis and periodontitis · 2025Not checked
- Screening biomarkers related to cholesterol metabolism in osteoarthritis based on transcriptomics · 2025Not checked
- Identification and Assessment of Necroptosis-Related Genes in Clinical Prognosis and Immune Cells in Diffuse Large B-Cell Lymphoma · 2022Not checked
- Construction of m6A-based prognosis signature and prediction for immune and anti-angiogenic response · 2022Not checked
- Integrative Dissection of Novel Lactate Metabolism-Related Signature in the Tumor Immune Microenvironment and Prognostic Prediction in Breast Cancer · 2022Not checked
- Expression pattern and clinical value of Key RNA methylation modification regulators in ischemic stroke · 2022Not checked
- Whole-genome sequencing of phenotypically distinct inflammatory breast cancers reveals similar genomic alterations to non-inflammatory breast cancers · 2021Not checked
- Rapid divergence of the male reproductive proteins in the <i>Drosophila dunni</i> group and implications for postmating incompatibilities between species · 2021Not checked
- PACVr: plastome assembly coverage visualization in R · 2020No notice
- Within-host evolution of Helicobacter pylori shaped by niche-specific adaptation, intragastric migrations and selective sweeps · 2019No notice
- Multiple myeloma immunoglobulin lambda translocations portend poor prognosis · 2019No notice
- Consensus map integration and QTL meta-analysis narrowed a locus for yield traits to 0.7 cM and refined a region for late leaf spot resistance traits to 0.38 cM on linkage group A05 in peanut (Arachis hypogaea L.) · 2018Not checked
- Characterization and selective incorporation of small non-coding RNAs in non-small cell lung cancer extracellular vesicles · 2018Not checked
- Enhancer-associated long non-coding RNA LEENE regulates endothelial nitric oxide synthase and endothelial function · 2018No notice
- Topological organization and dynamic regulation of human tRNA genes during macrophage differentiation · 2017Not checked
- karyoploteR: an R/Bioconductor package to plot customizable genomes displaying arbitrary data · 2017No notice
- The non-coding RNA landscape of human hematopoiesis and leukemia · 2017No notice
- XGR software for enhanced interpretation of genomic summary data, illustrated by application to immunological traits · 2016No notice
- OmicCircos: A Simple-to-Use R Package for the Circular Visualization of Multidimensional Omics Data · 2014Not checked
- RTCGAToolbox: A New Tool for Exporting TCGA Firehose Data · 2014No notice
and 1 more
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.