Description Usage Arguments Value Author(s) Examples
Using boxplot as annotation
1 2 3 4 |
x |
a matrix or a list. If |
which |
is the annotation a column annotation or a row annotation? |
border |
whether show border of the annotation compoment |
gp |
graphic parameters |
ylim |
data ranges. |
outline |
whether draw outliers |
pch |
point type |
size |
point size |
axis |
whether add axis |
axis_side |
if it is placed as column annotation, value can only be "left" or "right". If it is placed as row annotation, value can only be "bottom" or "top". |
axis_gp |
graphic parameters for axis |
axis_direction |
if the annotation is row annotation, should the axis be from left to right (default) or follow the reversed direction? |
A graphic function which can be set in HeatmapAnnotation
constructor method.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 7 8 9 10 | mat = matrix(rnorm(32), nrow = 4)
f = anno_boxplot(mat)
grid.newpage(); f(1:8)
f = anno_boxplot(mat, which = "row")
grid.newpage(); f(1:4)
lt = lapply(1:4, function(i) rnorm(8))
f = anno_boxplot(lt)
grid.newpage(); f(1:4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.