namesAssign.HeatmapAnnotation: Assign Annotation Names

Description Usage Arguments Examples

Description

Assign Annotation Names

Usage

1
2
## S3 replacement method for class 'HeatmapAnnotation'
names(x) <- value

Arguments

x

A HeatmapAnnotation-class object.

value

A vector of new names.

Examples

1
2
3
ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1))
names(ha) = c("A", "B")
names(ha)

ComplexHeatmap documentation built on Nov. 14, 2020, 2:01 a.m.