Assign Annotation Names

# S3 method for HeatmapAnnotation
names(x) <- value

Arguments

x

A HeatmapAnnotation-class object.

value

A vector of new names.

Examples

ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1)) names(ha) = c("A", "B") names(ha)
#> [1] "A" "B"