fromList | R Documentation |
Modified version of fromList
(UpSetR
package). Transforms a list of named vectors to a data frame
compatible with the upset
function.
fromList(list)
list |
A list of named vectors, each including one group of elements of interest. |
A data.frame with the (unique) elements within the list as row names and one column per group. Values of 0 or 1 will be shown if the element is present or absent from the group, respectively.
The fromList()
function is originally included in the
UpSetR
package:
Conway2017acorde
The present modifications to the fromList() function were obtained from user @docmanny's contribution in this GitHub issue.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.