circlize package allows to build all kinds of
circular chart. This first section introduces the way it works, step
by step. Chord diagram are described in the following section, but a
basic understanding of the library is necessary at first.
Introduction to circlize
An introduction to the R circlize package: how to initalize a circular graph and fill it with a scatterplot.
Learn how to use other chart types like line chart, barcharts, vertical ablines and more.
circlize package also offers functions to build chord
diagrams. Basically, it allows to add arcs between nodes to show
flows. The examples below will guide you through their usage. The
circos.links() function builds connection one by one,
chordDiagram() plot a whole dataset in one shot.
Introduction to arcs
How to use circos.arc to draw arcs between entities, resulting in a chord diagram.
Basic chord diagram
How to build a basic chord diagram from an edge list or an adjacency matrix with R and the circlize package.
chorddiag package is an htmlwidget: it automatically
builds interactive charts. On the chart below, hovering a group or a
connection will highlight the related flow and give additional