Learn R Programming

circlizePlus (version 0.9.0)

ccBoxplot: Draw boxplots

Description

Object ccCellGeom will call the function circlize::circos.boxplot while drawing.

Usage

ccBoxplot(
  value,
  pos,
  outline = TRUE,
  box_width = 0.6,
  col = NA,
  border = "black",
  lwd = par("lwd"),
  lty = par("lty"),
  cex = par("cex"),
  pch = 1,
  pt.col = par("col")
)

Value

Object ccCellGeom

Arguments

value

A numeric vector, a matrix or a list. If it is a matrix, boxplots are made by columns (each column is a box).

pos

Positions of the boxes.

outline

Whether to draw outliers.

box_width

Width of boxes.

col

Filled color of boxes.

border

Color for the border as well as the quantile lines.

lwd

Line width.

lty

Line style

cex

Point size.

pch

Point type.

pt.col

Point color.

Examples

Run this code
library(circlizePlus)
cc <- ccPlot(sectors = letters[1:4], xlim = c(0, 10))
track <- ccTrack(ylim = c(0, 1))
cell <- ccCell(sector.index = "a") + ccBoxplot(value = replicate(runif(10),
n = 10, simplify = FALSE), pos = 1:10 - 0.5, col = 1:10)
track <- track + cell
cc + track

Run the code above in your browser using DataLab