namesAssign.HeatmapAnnotation.Rd
Assign Annotation Names
# S3 method for HeatmapAnnotation names(x) <- value
A HeatmapAnnotation-class object.
HeatmapAnnotation-class
A vector of new names.
ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1)) names(ha) = c("A", "B") names(ha)#> [1] "A" "B"