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

draw-SingleAnnotation-method

Draw the Single Annotation


Description

Draw the Single Annotation

Usage

## S4 method for signature 'SingleAnnotation'
draw(object, index, k = 1, n = 1, test = FALSE,
    anno_mark_param = list())

Arguments

object

A SingleAnnotation-class object.

index

A vector of indices.

k

The index of the slice.

n

Total number of slices. k and n are used to adjust annotation names. E.g. if k is 2 and n is 3, the annotation names are not drawn.

test

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

anno_mark_param

It contains specific parameters for drawing anno_mark.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

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.