circlize: circular visualization in R
This package aims to implement circular layout in R.
Since most of the figures are composed of points, lines and polygons, we just need to implement functions for drawing points, lines and polygons.
Current there are following low-level graphical functions:
circos.link(), This maybe the unique feature for circos layout to represent relationships between elements.
For drawing points, lines and text through the whole track (among several sectors), the following functions are available:
Functions to arrange circos layout:
Theoretically, you are able to draw most kinds of circos plots by the above functions.
For specific use in genomics, we also implement functions which add graphics in genome scale.
Functions to initialize circos plot with genomic coordinates:
Functions to arrange genomic circos layout:
Functions to add basic graphics in genomic scale:
Functions with specific purpose:
Finally, function that draws chord diagram:
Please refer to the vignettes to find out how to draw basic and advanced circos plots by this package.
The package has been submitted to CRAN, so you can install it through:
Together with the package there are several vignettes which provide detailed description and examples.
For examples of circlize package, please visit http://jokergoo.github.io/circlize .