ccTrackText: Add texts on all sections of a single track.

View source: R/track-geom.R

ccTrackTextR Documentation

Add texts on all sections of a single track.

Description

Object ccTrackGeom will call the function circlize::circos.trackText while drawing.

Usage

ccTrackText(
  sectors,
  x,
  y,
  labels,
  direction = NULL,
  facing = c("inside", "outside", "reverse.clockwise", "clockwise", "downward",
    "bending", "bending.inside", "bending.outside"),
  niceFacing = FALSE,
  adj = par("adj"),
  cex = 1,
  col = par("col"),
  font = par("font"),
  factors = sectors
)

Arguments

sectors

A factor or a character vector which represents the categories of data

x

Data points on x-axis

y

Data points on y-axis

labels

Labels

direction

deprecated, use facing instead.

facing

Facing of text

niceFacing

Should the facing of text be adjusted to fit human eyes?

adj

Adjustment for text

cex

Font size

col

Font color

font

Font style

factors

The same as sectors. It will be removed in future versions.

Value

Object ccTrackGeom

Examples

NULL

circlizePlus documentation built on June 8, 2025, 10:42 a.m.