comb_size: Sizes of the Combination sets

View source: R/Upset.R

comb_sizeR Documentation

Sizes of the Combination sets

Description

Sizes of the Combination sets

Usage

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

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)

jokergoo/ComplexHeatmap documentation built on Nov. 17, 2023, 11:27 a.m.