Size of the AnnotationFunction Object

# S3 method for AnnotationFunction
size(x, ...)

Arguments

x

The AnnotationFunction-class object.

...

Other arguments.

Details

It returns the width if it is a row annotation and the height if it is a column annotation.

Internally used.

Examples

anno = anno_points(1:10) ComplexHeatmap:::size(anno)
#> [1] 1cm
anno = anno_points(1:10, which = "row") ComplexHeatmap:::size(anno)
#> [1] 1cm