R: Draw rectangle-like grid

circos.rect {circlize} | R Documentation

## Draw rectangle-like grid

### Description

Draw rectangle-like grid

### Usage

    circos.rect(xleft, ybottom, xright, ytop,
        sector.index = get.cell.meta.data("sector.index"),
        track.index = get.cell.meta.data("track.index"), ...)

### Arguments

`xleft` | x for the left bottom points
`ybottom` | y for the left bottom points
`xright` | x for the right top points
`ytop` | y for the right top points
`sector.index` | Index for the sector
`track.index` | Index for the track
`...` | pass to `polygon`

### Details

The name for this function is `circos.rect` because if you imagine the plotting region as Cartesian coordinate, then it is rectangle. in the polar coordinate, the up and bottom edge become two arcs.

This function can be vectorized.

### References

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

### Examples

    # There is no example
    NULL

[Package circlize version 0.4.5 Index]