⚠️There's a newer version (0.4.16) of this package.Take me there.

circlize (version 0.4.15)

Circular Visualization

Description

Circular layout is an efficient way for the visualization of huge amounts of information. Here this package provides an implementation of circular layout generation in R as well as an enhancement of available software. The flexibility of the 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, it gives users more convenience and freedom to design figures for better understanding complex patterns behind multiple dimensional data. The package is described in Gu et al. 2014 .

Copy Link

Version

Install

install.packages('circlize')

Monthly Downloads

28,490

Version

0.4.15

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

May 10th, 2022

Functions in circlize (0.4.15)

add_transparency

Add transparency to colors
adjacencyList2Matrix

Convert adjacency list to an adjacency matrix
circos.dendrogram

Add circular dendrograms
circos.genomicIdeogram

Add an ideogram track
circos.genomicAxis

Add genomic axes
adjacencyMatrix2List

Convert adjacency matrix to an adjacency list
circlize-package

Circular visualization in R
arrange_links_evenly

Arrange links evenly on each sector
calc_gap

Calculate gaps to make two Chord diagrams in the same scale
chordDiagram

Plot Chord Diagram
circos.genomicPosTransformLines

Add genomic position transformation lines between tracks
circos.connect

Draw connecting lines/ribons between two sets of points
circos.clear

Reset the circular layout parameters
circos.genomicLink

Add links from two sets of genomic positions
circos.initialize

Initialize the circular layout
circos.genomicPoints

Add points to a plotting region, specifically for genomic graphics
circos.initializeCircularGenome

Initialize a layout for circular genome
cm_h

Convert units
genomicDensity

Calculate genomic region density
cm_x

Convert unit on x direction in data coordinate
get.all.sector.index

Get index for all sectors
circos.genomicRainfall

Genomic rainfall plot
circos.heatmap

Make circular heatmaps
get.current.track.index

Get current track index
circlize

Convert to polar coordinate system
chordDiagramFromDataFrame

Plot Chord Diagram from a data frame
chordDiagramFromMatrix

Plot Chord Diagram from an adjacency matrix
getI

Which data that panel.fun is using
inches_x

Convert unit on x direction in data coordinate
reverse.circlize

Convert to data coordinate system
inches_h

Convert units
set.current.cell

Set flag to current cell
circos.heatmap.initialize

Initialize circular heatmaps
circos.initializeWithIdeogram

Initialize the circular layout with an ideogram
smartAlign

Adjust positions of text
circos.genomicInitialize

Initialize circular plot with any genomic data
circos.axis

Draw x-axis
circos.genomicLines

Add lines to a plotting region, specifically for genomic graphics
circos.arrow

Draw arrow which is paralle to the circle
circos.genomicLabels

Add labels to specified genomic regions
circos.lines

Add lines to the plotting region
circos.link

Draw links between points or/and intervals
circos.trackText

Draw text in cells among the whole track
circos.trackPoints

Add points to the plotting regions in a same track
uh

Convert units
circos.genomicRect

Draw rectangle-like grid, specifically for genomic graphics
colorRamp2

Color interpolation
circos.nested

Nested zooming with two circular plots
circos.par

Parameters for the circular layout
circos.genomicText

Draw text in a cell, specifically for genomic graphics
circos.update

Create plotting regions for a whole track
circos.violin

Draw violin plots
circos.updatePlotRegion

Update the plotting region in an existed cell
circos.triangle

Draw triangles
fontsize

Convert fontsize to cex
circos.heatmap.link

Draw a link between two matrix rows in the circular heatmap
circos.labels

Add a label track
generateRandomBed

Generate random genomic data
degree

Mark the value as a degree value
convert_height

Convert units
get.current.chromosome

Get current chromosome name
get.current.sector.index

Get current sector index
circos.points

Add points to a plotting region
circos.segments

Draw segments through pairwise of points
circos.info

Get information of the circular plot
circos.polygon

Draw polygon
draw.sector

Draw sectors or rings in a circle
inch_x

Convert unit on x direction in data coordinate
CELL_META

Easy way to get meta data in the current cell
circos.text

Draw text in a cell
inch_y

Convert unit on y direction in data coordinate
inches_y

Convert unit on y direction in data coordinate
mm_h

Convert units
$.CELL_META

Easy to way to get meta data in the current cell
circos.barplot

Draw barplots
circos.genomicDensity

Calculate and add genomic density track
circos.boxplot

Draw boxplots
circos.genomicHeatmap

Add heatmaps for selected regions
circos.trackLines

Add lines to the plotting regions in a same track
read.chromInfo

Read/parse chromInfo data from a data frame/file/UCSC database
posTransform.text

Genomic position transformation function specifically for text
print.CELL_META

Print CELL_META
read.cytoband

Read/parse cytoband data from a data frame/file/UCSC database
circos.genomicTrackPlotRegion

Create a track for genomic graphics
circos.genomicTrack

Create a track for genomic graphics
circos.trackPlotRegion

Create plotting regions for a whole track
circos.rect

Draw rectangle-like grid
circos.raster

Add raster images
circos.yaxis

Draw y-axis
circos.track

Create plotting regions for a whole track
circos.xaxis

Draw x-axis
convert_y

Convert unit on y direction in data coordinate
circos.trackHist

Draw histogram in cells among a whole track
cm_y

Convert unit on y direction in data coordinate
convert_length

Convert units
convert_x

Convert unit on x direction in data coordinate
highlight.chromosome

Highlight chromosomes
set_track_gap

Set gaps between tracks
get_most_inside_radius

Get the inside radius of the most inner track
show.index

Label the sector index and the track index on each cell
col2value

Transform back from colors to values
get.all.track.index

Get index for all tracks
cytoband.col

Assign colors to cytogenetic band (hg19) according to the Giemsa stain results
get.cell.meta.data

Get the meta data of a cell
mm_x

Convert unit on x direction in data coordinate
mm_y

Convert unit on y direction in data coordinate
highlight.sector

Highlight sectors and tracks
inch_h

Convert units
names.CELL_META

Names of all meta data in the current cell
rainfallTransform

Calculate inter-distance of genomic regions
posTransform.default

Genomic position transformation function
rand_color

Generate random colors
uy

Convert unit on y direction in data coordinate
ux

Convert unit on x direction in data coordinate