ASEset-gbarplot {AllelicImbalance} | R Documentation

## 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.

### Author(s)

Jesper R. Gadin

### See Also

- The `ASEset` class which the gbarplot function can be called up on.

- The `barplot` non trellis barplot.

### Examples

    data(ASEset)
    gbarplot(ASEset[1])

[Package AllelicImbalance version 1.32.0 Index]