ytracks.regionalplot: Generate a Base Tracks Object for Regionalplots

Description Usage Arguments Details Value See Also Examples

Description

This is a function to construct a data frame listing y axis bounds for tracks in the regionalplot function.

Usage

1
2
3
4
5
6
7
8
  ytracks.regionalplot(
    ylim.upper, 
    ylim.space, 
    plot.genes = TRUE, 
    plot.ld = TRUE, 
    plot.variants = FALSE, 
    var.options
  )

Arguments

ylim.upper

numeric(1). The height of the plot starting at 0, i.e. the maximum scale of the p-value graph.

ylim.space

numeric(1). A default value for gaps between tracks.

plot.genes

boolean(1). Whether to add information for a gene track.

plot.ld

boolean(1). Whether to add information for an LD track.

plot.variants

boolean(1). Whether to add information for a rare variant track.

var.options

list. Only needed when plot.variants = TRUE, should then be the same list as passed to the regionalplot function.

Details

See also the last example of the regionalplot function, where the use of the tracks function is outlined.

Value

A data frame with each track forming a row and the columns listing the properties (see examples).

See Also

regionalplot

Examples

1
  ytracks.regionalplot(ylim.upper=12, ylim.space=0.1)

merns/postgwas documentation built on May 22, 2019, 6:53 p.m.