Description Usage Arguments Details Author(s) Examples
View source: R/auxillary-functions-visuals.R
adds a customizable annotation functionality for AllelicImbalance barplots.
1 2 3 4 5 6 7 8 9 10 | 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
1 2 3 4 | #code placeholders
#< create a barplot without annotation >
#< add annotation >
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.