namesAssign.HeatmapAnnotation: Assign Annotation Names

namesAssign.HeatmapAnnotationR 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)

jokergoo/ComplexHeatmap documentation built on Sept. 24, 2024, 4:48 p.m.