extract_comb: Extract Elements in a Combination set

View source: R/Upset.R

extract_combR Documentation

Extract Elements in a Combination set

Description

Extract Elements in a Combination set

Usage

extract_comb(m, comb_name)

Arguments

m

A combination matrix returned by make_comb_mat.

comb_name

The valid combination set name should be from comb_name.

Details

It returns the combination set.

Examples

set.seed(123)
lt = list(a = sample(letters, 10),
          b = sample(letters, 15),
          c = sample(letters, 20))
m = make_comb_mat(lt)
extract_comb(m, "110")

jokergoo/ComplexHeatmap documentation built on Dec. 22, 2024, 8:51 a.m.