comb_size: Sizes of the Combination sets

Description Usage Arguments Value Examples

View source: R/Upset.R

Description

Sizes of the Combination sets

Usage

1
comb_size(m, degree = NULL)

Arguments

m

A combination matrix returned by make_comb_mat.

degree

degree of the intersection. The value can be a vector.

Value

A vector of sizes of the combination sets.

Examples

1
2
3
4
5
6
set.seed(123)
lt = list(a = sample(letters, 10),
          b = sample(letters, 15),
          c = sample(letters, 20))
m = make_comb_mat(lt)
comb_size(m)

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