• Stars
    star
    956
  • Rank 47,818 (Top 1.0 %)
  • Language
    R
  • License
    Other
  • Created over 11 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Circular visualization in R

circlize: circular visualization in R

R-CMD-check CRAN CRAN Codecov test coverage

Circular layout is an efficient way for the visualization of huge amounts of information. Here the circlize package provides an implementation of circular layout generation in R as well as an enhancement of available software. The flexibility of this package is based on the usage of low-level graphics functions such that self-defined high-level graphics can be easily implemented by users for specific purposes. Together with the seamless connection between the powerful computational and visual environment in R, circlize gives users more convenience and freedom to design figures for better understanding complex patterns behind multi-dimensional data.

Citation

Zuguang Gu, et al., circlize Implements and enhances circular visualization in R. Bioinformatics (Oxford, England) 2014. PubMed

Documentation

The full documentations are available at https://jokergoo.github.io/circlize_book/book/ and the online website is at https://jokergoo.github.io/circlize/.

Blog posts

There are the following blog posts focusing on specific topics.

Examples

See https://jokergoo.github.io/circlize_examples/.

circlize_example

Install

The package can be installed from CRAN:

install.packages("circlize")

or directly from GitHub:

devtools::install_github("jokergoo/circlize")

Basic design

Since most of the figures are composed of points, lines and polygons, we just need to implement functions for drawing points, lines and polygons, then the plots will not be restricted in any specific types.

Current there are following low-level graphic functions:

  • circos.points()
  • circos.lines()
  • circos.segments()
  • circos.rect()
  • circos.polygon()
  • circos.text()
  • circos.axis()
  • circos.raster()
  • circos.arrow()
  • circos.raster()
  • circos.barplot()
  • circos.boxplot()
  • 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:

  • circos.trackPoints()
  • circos.trackLines()
  • circos.trackText()

Draw circular heatmaps

  • circos.heatmap()

Functions to arrange the circular layout:

  • circos.track()
  • circos.update()
  • circos.nested()
  • circos.par()
  • circos.info()
  • circos.clear()

Theoretically, you are able to draw most kinds of circular plots by the above functions.

For specific use in Genomics, we also implement functions which add graphics in genome scale.

Functions to initialize circular plot with genomic coordinates:

  • circos.initializeWithIdeogram()
  • circos.genomicInitialize()

Functions to arrange genomic circular layout:

  • circos.genomicTrack()

Functions to add basic graphics in genomic scale:

  • circos.genomicPoints()
  • circos.genomicLines()
  • circos.genomicText()
  • circos.genomicRect()
  • circos.genomicLink()

Functions with specific purpose:

  • circos.genomicIdeogram()
  • circos.genomicHeatmap()
  • circos.genomicLabels()
  • circos.genomicDensity()
  • circos.genomicRainfall()

Finally, function that draws Chord diagram:

  • chordDiagram()

License

MIT @ Zuguang Gu

More Repositories

1

ComplexHeatmap

Make Complex Heatmaps
R
1,276
star
2

EnrichedHeatmap

make enriched heatmap which visualizes the enrichment of genomic signals to specific target regions.
R
185
star
3

spiralize

Visualize data on spirals
R
145
star
4

InteractiveComplexHeatmap

Make Interactive Complex Heatmaps
R
123
star
5

simplifyEnrichment

Simplify functional enrichment results
R
102
star
6

rGREAT

GREAT Analysis - Functional Enrichment on Genomic Regions
R
81
star
7

cola

A General Framework for Consensus Partitioning
HTML
58
star
8

pkgndep

Analyzing Dependency Heaviness of R Packages
R
45
star
9

HilbertCurve

Visualize genomic data by Hilbert curve
R
40
star
10

gtrellis

Genomic plot in trellis layout
R
39
star
11

circlize_book

Documentation for circlize package
HTML
36
star
12

KeywordsEnrichment

R
30
star
13

bsub

Send R code/R scripts/shell commands to LSF cluster without leaving R
R
24
star
14

ComplexHeatmap-reference

Documentation of ComplexHeatmap package
HTML
22
star
15

ComplexHeatmap_v2_paper_code

R
16
star
16

GetoptLong

Parse command-line arguments and simple variable interpolation
R
16
star
17

GSEAtraining

HTML
14
star
18

circlize_examples

circlize examples
HTML
12
star
19

BioCartaImage

BioCarta pathway images
R
11
star
20

BioMartGOGeneSets

Gene Ontology Gene Sets from BioMart
R
11
star
21

IlluminaHumanMethylationEPICv2anno.20a1.hg38

R
10
star
22

simona

Semantic Similarity in Bio-Ontologies
R
10
star
23

ComplexHeatmap-examples

R
10
star
24

jokergoo

9
star
25

GlobalOptions

Generate function to get or set global options
R
9
star
26

IlluminaHumanMethylationEPICv2manifest

R
8
star
27

Crypt-DNASequence

Encrypt and decrypt strings to DNA Sequences
Perl
8
star
28

Useful_R_packages

8
star
29

ngspipeline

NGS pipeline
Perl
8
star
30

cola_hcp

Hierarchical Consensus Partitioning
5
star
31

jokergoo.github.io

Personal website
HTML
4
star
32

spiralize_vignettes

Vignettes of the spiralize package
HTML
4
star
33

pheatmap2

pretty and parallel heatmap
R
4
star
34

GeneSummary

RefSeq gene summary
R
2
star
35

BioMartGOGeneSets_data

2
star
36

cotools

NGS tools for Conputational Oncology group in DKFZ
R
2
star
37

cola_manuscript

Scripts for the cola manuscript
R
2
star
38

UniProtKeywords

Keywords from the UniProt database
R
2
star
39

supplementary

HTML
2
star
40

simplifyEnrichment_supplementary

Supplementary for simplifyEnrichment manuscript
HTML
2
star
41

cola_examples

Examples of cola analysis
HTML
2
star
42

CePa

Centrality-based pathway enrichment
R
2
star
43

colorRamp2

Generate Color Mapping Functions
R
1
star
44

cola_vignettes

Vignettes of the cola package
HTML
1
star
45

simplifyEnrichment_manuscript

Scripts for the analysis in simplifyEnrichment manuscript
R
1
star
46

gsubeval

Substitute with an Evaluated Expression
R
1
star
47

GTF

Simple class to process GTF data
R
1
star
48

epik

Integrative analysis for epigenomic sequencing data
HTML
1
star
49

simona_supplementary

HTML
1
star
50

List-Vectorize

vectorized functions in perl
Perl
1
star
51

Statistics-Multtest

Control false discovery rate in multiple test
Perl
1
star
52

Microarray-GEO-SOFT

Reading microarray data in SOFT format from GEO database
Perl
1
star
53

top2pct_scientists

top2pct_scientists
R
1
star