intersectElements | R Documentation |
Find intersections and assign element to intersection combinations.
intersectElements(x, mutual.exclusive=TRUE)
x |
list; a collection of sets. |
mutual.exclusive |
logical; see |
See example below for the use of mutual.exclusive
.
A data.frame with two columns:
Entry |
set elements. |
barcode |
intersection combination that each entry belongs to. |
Minghui Wang <minghui.wang@mssm.edu>
set.seed(123)
sets=list(S1=sample(letters,10), S2=sample(letters,5), S3=sample(letters,7))
intersectElements(sets,mutual.exclusive=TRUE)
intersectElements(sets,mutual.exclusive=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.