anno_points: Using points as annotation

Description Usage Arguments Value Author(s) Examples

Description

Using points as annotation

Usage

1
2
3
anno_points(x, which = c("column", "row"), border = TRUE, gp = gpar(), pch = 16,
    size = unit(2, "mm"), ylim = NULL, axis = FALSE, axis_side = NULL,
    axis_gp = gpar(fontsize = 8), axis_direction = c("normal", "reverse"), ...)

Arguments

x

a vector of numeric values.

which

is the annotation a column annotation or a row annotation?

border

whether show border of the annotation compoment

gp

graphic parameters.

pch

point type.

size

point size.

ylim

data ranges.

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?

...

for future use.

Value

A graphic function which can be set in HeatmapAnnotation constructor method.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
f = anno_points(rnorm(10))
grid.newpage(); f(1:10)

eilslabs/ComplexHeatmap documentation built on May 16, 2019, 1:21 a.m.