R: Draw segments through pairwise of points

circos.segments {circlize} | R Documentation

## Draw segments through pairwise of points

### Description

Draw segments through pairwise of points

### Usage

    circos.segments(x0, y0, x1, y1, sector.index = get.cell.meta.data("sector.index"),
        track.index = get.cell.meta.data("track.index"), straight = FALSE,
        col = par("col"), lwd = par("lwd"), lty = par("lty"), ...)

### Arguments

`x0` | x coordinates for starting points
`y0` | y coordinates for ending points
`x1` | x coordinates for starting points
`y1` | y coordinates for ending points
`sector.index` | Index for the sector
`track.index` | Index for the track
`straight` | whether the segment is a straight line
`col` | color of the segments
`lwd` | line width of the segments
`lty` | line type of the segments
`...` | pass to `lines`

### Examples

    # There is no example
    NULL

[Package circlize version 0.4.1 Index]