annotationBarplot {AllelicImbalance} | R Documentation

## add annotation to AllelicImbalance barplot

### Description

adds a customizable annotation functionality for AllelicImbalance barplots.

### Usage

    annotationBarplot(
      strand,
      snp,
      lowerLeftCorner,
      annDfPlus,
      annDfMinus,
      cex = 0.7,
      ypos = 0,
      interspace = 1
    )

### Arguments

`strand` | strand, "+", "-", "*" or "both"
`snp` | integer for the described snp
`lowerLeftCorner` | position of the plot to add legend to (default c(0,0))
`annDfPlus` | annotation dataframe plus strand
`annDfMinus` | annotation dataframe minus strand
`cex` | size of annotation text
`ypos` | relative y-axis position for the annotation text
`interspace` | space between each annotation block

### Details

the function is preferably called from within the AllelicImbalance barplot method.

### Author(s)

Jesper R. Gadin

### Examples

    #code placeholders
    #< create a barplot without annotation >
    #< add annotation >

[Package AllelicImbalance version 1.25.2 Index]