ccPoints {circlizePlus} | R Documentation |
Draw points in a region
Description
Object ccCellGeom will call the function circlize::circos.points while drawing.
Usage
ccPoints(
x = NULL,
y = NULL,
pch = par("pch"),
col = par("col"),
cex = par("cex"),
bg = par("bg")
)
Arguments
x |
Data points on x-axis, measured in "current" data coordinate |
y |
Data points on y-axis, measured in "current" data coordinate |
pch |
Point type |
col |
Point color |
cex |
Point size |
bg |
backgrond of points |
Value
Object ccCellGeom
Examples
library(circlizePlus)
cc <- ccPlot(sectors = letters[1:8], xlim = c(0, 1))
track1 <- ccTrack(ylim = c(0, 1), panel.fun = function(x, y) {
circos.points(runif(10), runif(10))
})
cells <- ccCell(sector.index = "a") + ccPoints(
x = runif(10), y = runif(10),
pch = 16, col = "red"
)
track1 <- track1 + cells
cc + track1
[Package circlizePlus version 0.9.1 Index]