circos.trackLines: Add lines to the plotting regions in a same track

Description Usage Arguments Details References Examples

Description

Add lines to the plotting regions in a same track

Usage

1
2
3
4
circos.trackLines(factors, x, y, track.index = get.cell.meta.data("track.index"),
    col = par("col"), lwd = par("lwd"), lty = par("lty"), type = "l", straight = FALSE,
    area = FALSE, area.baseline = NULL, border = "black", baseline = "bottom",
    pt.col = par("col"), cex = par("cex"), pch = par("pch"))

Arguments

factors

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

x

Data points on x-axis

y

Data points on y-axis

track.index

Index for the track

col

Line color

lwd

line width

lty

line style

type

line type, similar as type argument in lines, but only in c("l", "o", "h", "s")

straight

whether draw straight lines between points

area

whether to fill the area below the lines. If it is set to TRUE, col controls the filled color in the area and border controls the color of the line.

area.baseline

deprecated, use baseline instead.

baseline

the base line to draw area, pass to circos.lines.

border

color for border of the area

pt.col

if type is "o", points color

cex

if type is "o", points size

pch

if type is "o", points type

Details

The function adds lines in multiple cells by first splitting data into several parts in which each part corresponds to one factor (sector index) and then add lines in cells by calling circos.lines.

This function can be replaced by a for loop containing circos.lines.

References

Gu, Z. (2014) circlize implements and enhances circular visualization in R. Bioinformatics.

Examples

1
2
# There is no example
NULL

1156054203/circlize- documentation built on May 22, 2019, 2 p.m.