set_nameAssign: Modify Set Names

Description Usage Arguments Examples

Description

Modify Set Names

Usage

1
set_name(x, ...) <- value

Arguments

x

A combination matrix returned by make_comb_mat.

value

New set names.

...

Other arguments.

Examples

1
2
3
4
5
6
7
set.seed(123)
lt = list(a = sample(letters, 10),
          b = sample(letters, 15),
          c = sample(letters, 20))
m = make_comb_mat(lt)
set_name(m) = c("A", "B", "C")
m

ComplexHeatmap documentation built on Nov. 14, 2020, 2:01 a.m.