namesAssign.HeatmapAnnotation {ComplexHeatmap} | R Documentation

## Assign Annotation Names

### Description

Assign Annotation Names

### Usage

    ## S3 replacement method for class '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)

[Package ComplexHeatmap version 2.10.0 Index]