Learn R Programming

AllelicImbalance (version 1.10.2)

ASEset-gbarplot: gbarplot ASEset objects

Description

Generates gbarplots for ASEset objects. Two levels of plotting detail are provided: a detailed gbarplot of read counts by allele useful for fewer samples and SNPs, and a less detailed gbarplot of the fraction of imbalance, useful for more samples and SNPs.

Usage

gbarplot(x, type = "count", strand = "*", verbose = FALSE, ...)

Arguments

x
An ASEset object
type
'count' or 'fraction'
strand
four options, '+', '-', 'both' or '*'
verbose
Makes function more talkative
...
for simpler generics when extending function

Details

This function serves the same purpose as the normal barplot, but with trellis graphics using lattice, to be able to integrate well with Gviz track functionality.

See Also

  • The ASEset class which the gbarplot function can be called up on.
  • The barplot non trellis barplot.

Examples

Run this code

data(ASEset)
gbarplot(ASEset[1])

Run the code above in your browser using DataLab