annotationBarplot: add annotation to AllelicImbalance barplot

Description Usage Arguments Details Author(s) Examples

View source: R/auxillary-functions-visuals.R

Description

adds a customizable annotation functionality for AllelicImbalance barplots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
3
4
#code placeholders
#< create a barplot without annotation >
#< add annotation >
 

pappewaio/AllelicImbalance documentation built on April 11, 2020, 2:58 a.m.