names<-.HeatmapAnnotation {ComplexHeatmap} | R Documentation |
Assign Annotation Names
## S3 replacement method for class 'HeatmapAnnotation' names(x) <- value
x |
A |
value |
A vector of new names. |
ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1)) names(ha) = c("A", "B") names(ha)