comb_degree: Degrees of the Combination sets

Description Usage Arguments Details Value Examples

View source: R/Upset.R

Description

Degrees of the Combination sets

Usage

1

Arguments

m

A combination matrix returned by make_comb_mat.

Details

The degree for a combination set is the number of sets that are selected.

Value

A vector of degrees 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_degree(m)

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