fromListWithNames: fromListWithNames

fromListWithNamesR Documentation

fromListWithNames

Description

alternative to UpSetR::fromList that maintains element names in row.names of the output detection matrix. Required to track members in intersect sets. Grabbed & modified from https://github.com/hms-dbmi/UpSetR/issues/85.

Usage

fromListWithNames(
  input = list(Set1 = c("A", "B", "C", "D", "E"), Set2 = c("A", "B", "D", "E", "F"), Set3
    = c("B", "D", "E", "F", "G", "H"))
)

Arguments

input

list of named character vectors containing the sets


heuselm/mocode documentation built on Oct. 23, 2023, 8:43 a.m.