namesAssign.HeatmapAnnotation: Assign Annotation Names

Description Usage Arguments Examples

Description

Assign Annotation Names

Usage

1
2
## S3 replacement method for class 'HeatmapAnnotation'
names(x) <- value

Arguments

x

A HeatmapAnnotation-class object.

value

A vector of new names.

Examples

1
2
3
ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1))
names(ha) = c("A", "B")
names(ha)

zhongmicai/complexHeatmap documentation built on May 7, 2019, 6:11 a.m.