plotRanges: Plot genomic ranges from the IRanges object or GRanges...

View source: R/plot_wrappers.R

plotRangesR Documentation

Plot genomic ranges from the IRanges object or GRanges object.

Description

Plot genomic ranges from the IRanges object or GRanges object.

Usage

plotRanges(
  x,
  xlim = x,
  main = deparse(substitute(x)),
  col = "black",
  sep = 0.5,
  ...
)

Arguments

x

a IRanges object.

xlim

like in plot.

main

A title of the plot.

col

color. Default "black". e.g. "blue".

sep

Default 0.5.

...

Other params you can pass to plot function.

Value

A plot.

Examples

library(IRanges)
plotRanges(IRanges(1:10, width=10:1, names=letters[1:10]))

JokingHero/rxtras documentation built on April 1, 2024, 12:42 p.m.