comb_degree: Degrees of the Combination sets

View source: R/Upset.R

comb_degreeR Documentation

Degrees of the Combination sets

Description

Degrees of the Combination sets

Usage

comb_degree(m)

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

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)

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