Learn R Programming

AllelicImbalance (version 1.10.2)

decorateWithGenes: decorateWithGenes

Description

Internal function that can draw gene regions on pre-specified surfaces. Necessary for the genomic-location plots.

Usage

decorateWithGenes(x, genesInRegion, xlim, ylim, chromosome)

Arguments

x
ASEset object
genesInRegion
GRanges object with gene regions. Can be obtained using getGenesFromAnnotation
xlim
xlim values for the pre-specified surface
ylim
ylim values for the pre-specified surface
chromosome
character

Value

decorateWithGenes returns nothing, but draws genes

Details

The main intention of this function is to be used when plotting several bar plots in the same window. This function add gene regions under the bars.

See Also

Examples

Run this code

  data(ASEset)

Run the code above in your browser using DataLab