Description Usage Arguments Value Author(s) Examples
Using kernel density as annotation
1 2 |
x |
a matrix or a list. If |
which |
is the annotation a column annotation or a row annotation? |
gp |
graphic parameters. Note it is ignored if |
type |
which type of graphics is used to represent density distribution. |
... |
pass to |
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_density(mat)
grid.newpage(); f(1:8)
f = anno_density(mat, which = "row", type = "violin")
grid.newpage(); f(1:4)
lt = lapply(1:4, function(i) rnorm(8))
f = anno_density(lt, type = "heatmap")
grid.newpage(); f(1:4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.