Learn R Programming

AllelicImbalance (version 1.10.2)

decorateWithExons: decorateWithExons

Description

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

Usage

decorateWithExons(x, exonsInRegion, xlim, ylim, chromosome)

Arguments

x
ASEset object
exonsInRegion
GRanges object with generegions. Can be obtained using getExonsFromAnnotation. Must contain a column 'tx_name'
xlim
xlim values for the pre-specified surface
ylim
ylim values for the pre-specified surface
chromosome
character

Value

decorateWithExons 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