recombRate: Produce recombination rate plot.

View source: R/recombRate.R

recombRateR Documentation

Produce recombination rate plot.

Description

Plot average rates of recombination from the deCODE genetic map for a specified genetic sequence.

Usage

recombRate(minRange, maxRange, chromosome, genome = "hg19", vp = viewport(x = 0,
y = 0.99, height = 0.04, just = c("left", "top")), view = "dense")

Arguments

minRange

The sequence minimum range in base pairs.

maxRange

The sequence maximum range in base pairs.

chromosome

A character string identifying the chromosome.

genome

The genome assembly to use. The default is hg19, the most recent human genome assembly on the UCSC genome browser.

vp

A viewport.

view

Display mode. Possible values are "dense" (the default), "squish", "pack" and "full".

Value

A grob representing recombination rates.

Author(s)

Sigal Blay <sblay@sfu.ca> and more

References

http://genome.ucsc.edu/cgi-bin/hgTrackUi?g=recombRate

Examples


grid::grid.newpage()
recombRate(129000000, 140000000, "chr7", "hg18")
grid::grid.newpage()
grid::pushViewport(grid::viewport(width=0.8, x=0.2, just="left"))
recombRate(129000000, 140000000, "chr7", "hg18", view="full")
grid::popViewport()


LDheatmap documentation built on April 24, 2022, 1:05 a.m.