Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

comb_name

Names of the Combination sets


Description

Names of the Combination sets

Usage

comb_name(m, readable = FALSE)

Arguments

m

A combination matrix returned by make_comb_mat.

readable

Whether the combination represents as e.g. "A&B&C".

Details

The name of the combination sets are formatted as a string of binary bits. E.g. for three sets of "a", "b", "c", the combination set with name "101" corresponds to select set a, not select set b and select set c. The definition of "select" depends on the value of mode from make_comb_mat.

Value

A vector of names of the combination sets.

Examples

set.seed(123)
lt = list(a = sample(letters, 10),
          b = sample(letters, 15),
          c = sample(letters, 20))
m = make_comb_mat(lt)
comb_name(m)
comb_name(m, readable = TRUE)

ComplexHeatmap

Make Complex Heatmaps

v2.6.2
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.