Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

draw-AnnotationFunction-method

Draw the AnnotationFunction Object


Description

Draw the AnnotationFunction Object

Usage

## S4 method for signature 'AnnotationFunction'
draw(object, index, k = 1, n = 1, test = FALSE, ...)

Arguments

object

The AnnotationFunction-class object.

index

Index of observations.

k

Current slice index.

n

Total number of slices.

test

Is it in test mode? The value can be logical or a text which is plotted as the title of plot.

...

Pass to viewport.

Details

Normally it is called internally by the SingleAnnotation-class.

When test is set to TRUE, the annotation graphic is directly drawn, which is generally for testing purpose.

Examples

# There is no example
NULL

ComplexHeatmap

Make Complex Heatmaps

v2.6.2
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.