Draw text in cells among the whole track
circos.trackText(
sectors,
x, y,
labels,
track.index = get.current.track.index(),
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)
A factor
or a character vector which represents the categories of data
The same as sectors
. It will be removed in future versions.
Data points on x-axis
Data points on y-axis
Labels
Index for the track
deprecated, use facing
instead.
Facing of text
Should the facing of text be adjusted to fit human eyes?
Adjustment for text
Font size
Font color
Font style
The function adds texts in multiple cells by first splitting data into several parts in which
each part corresponds to one factor (sector index) and then add texts in cells by calling circos.text
.
This function can be replaced by a for
loop containing circos.text
.