Learn R Programming

circlizePlus (version 0.9.0)

ccTrackText: 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
)

Value

Object ccTrackGeom

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.

Examples

Run this code
NULL

Run the code above in your browser using DataLab