fromListWithNames | R Documentation |
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.
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"))
)
input |
list of named character vectors containing the sets |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.