circly: Chord Diagrams

Description Usage Arguments

Description

Creates chord diagrams from matrix inputs.

Usage

1
2
3
circly(M1, M2 = M1, color_column = rep(rgb(0, 0, 0), ncol(M1)),
  color_row = rep(rgb(0, 0, 0), nrow(M1)), gap_width = 0.005, cex = 1,
  label_orientation = "radial", ROI = 1)

Arguments

M1

n x m matrix. Columns specify output segments and are placed at the bottom of the circle. Rows specify input segments and are placed at the top.

M2

n x m matrix. If not specified, M1 is used.

color_column

Colours for lower segments and their chords.

color_row

Colours for top segments.

gap_width

Proportion of circle used for gaps.

ROI

Value indicating the proportion that each hemisphere should cover. e.g. value of 2 makes top hemisphere cover 2/3 of the circle


wkostelecki/circly documentation built on May 4, 2019, 7:34 a.m.