region_plot: Plot snps with gene annotations

Description Usage Arguments Value

Description

Plot snps with gene annotations

Usage

1
2
3
region_plot(file, x, y, start, end, label, width, ymax = NULL,
    transform = NULL, col = NULL, main = NULL, upper_hook = NULL,
    lower_hook = NULL, point_cex = .3, pch = 1L)

Arguments

file

Name of pdf output file.

x, y

x and y coordinates of points to plot.

start, end

x coordinates of start and end positions of regions.

label

Labels for regions.

width

Width in inches of pdf output.

ymax

Value to replace infinite y-coordinates with.

transform

Function to be applied to y-coordinates before plotting.

col

Color for points (defaults to black).

main

String used as plot title.

upper_hook

Function that will be called right after the upper part of the plot is created. Its arguments correspond to ‘x’, ‘y’, ‘start’, ‘end’, and ‘label’.

lower_hook

Same as ‘upper_hook’ except that the function is called right after the lower part of the plot is created.

point_cex

Factor by which points in plot are magnified.

pch

Character/symbol used for points (see points).

Value

None.


cbaumbach/genFun documentation built on May 13, 2019, 1:47 p.m.