Build radial sets plot

buildRadialSetsPlot(setSizes, setSizesByDegree, setIntersections,
  setOrder = NULL, linkThickness = "prop",
  linkColor = "prop.relError", linkColorPal = "RdBu",
  reverseLinkPal = FALSE, focusSets = "none", countScale = 1,
  colorScaleLim = c(-1, 1), colorScaleMapFun = "squish",
  edgeScaleLim = c(-Inf, Inf), edgeScaleMapFun = "censor",
  edgeWidthRange = c(1, 8), dropSets = FALSE,
  sectorLabelFontSize = 1, axisLabelFontSize = 1,
  facing = "clockwise", axisLabels = FALSE, legendTitle = NULL,
  showLegend = FALSE, sectorLineWidth = 1, majorTick = FALSE,
  bezierW = 1, bezierHRatio = 0.75, sectorColor = "white",
  barColor = "darkgrey", sectorFontCol = "black")

Arguments

setSizes

Data frame of set sizes from getSetSizes

setSizesByDegree

Data frame of set sizes by degree from getSetSizesByDegree

setIntersections

Data frame of set intersection sizes from getSetIntersections

setOrder

An optional input to specify order of sets (counterclockwise). Partial ordering is performed using fct_relevel

linkThickness

Character vector specifying name of variable from setIntersections data frame to map to link thickness

linkColor

Character vector specifying name of variable from setIntersections data frame to map to link color

linkColorPal

Name of color palette to use for link colors. Must match palette from brewer.pal

reverseLinkPal

A logical input specifying if color scale should be reversed

focusSets

Character vector specifying name(s) of set(s) to focus on. If single set is specified, only links originating from set are shown. If multiple sets are specified, only links between sets are shown.

countScale

An optional input to apply multiplicative scaling to set sizes

colorScaleLim

A numeric vector specifying upper and lower scale limits on link colors. Scale limits are enforced using censor or squish

colorScaleMapFun

A character string specifying whether to use censor or squish to enforce color scale limits

edgeScaleLim

A numeric vector specifying upper and lower scale limits on edge thickness. Scale limits are enforced using censor or squish

edgeScaleMapFun

A character string specifying whether to use censor or squish to enforce edge thickness limits

edgeWidthRange

A numeric vector specifying minimum and maximum line thickness of links

dropSets

A logical indicating if sets without links should be removed

sectorLabelFontSize

font size of sector labels

axisLabelFontSize

font size of axis labels

facing

direction of sector labels

axisLabels

logical indicating if axis labels are show

legendTitle

logical indicating if legend should have title

showLegend

logical indicating if legend should be shown

sectorLineWidth

line width of sector border

majorTick

logical indicating if tick marks are shown

bezierW

w parameter for link curves

bezierHRatio

height ratio for link curves

sectorColor

color of sectors

barColor

color of bars

sectorFontCol

Font color of sector text