annotationBarplot {AllelicImbalance} | R Documentation |
adds a customizable annotation functionality for AllelicImbalance barplots.
annotationBarplot(strand, snp, lowerLeftCorner, annDfPlus, annDfMinus, cex = 0.7, ypos = 0, interspace = 1)
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 |
the function is preferably called from within the AllelicImbalance barplot method.
Jesper R. Gadin
#code placeholders #< create a barplot without annotation > #< add annotation >