LDheatmap (version 0.99-7)

recombRate: 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.

References

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

Examples

Run this code
# NOT RUN {
grid.newpage()
recombRate(129000000, 140000000, "chr7", "hg18")
grid.newpage()
pushViewport(viewport(width=0.8, x=0.2, just="left"))
recombRate(129000000, 140000000, "chr7", "hg18", view="full")
popViewport()
# }

Run the code above in your browser using DataCamp Workspace