getSet {VennDetail} | R Documentation |
getSet function provides a way to extract subsets from venndetail object
getSet(object, subset = NULL, min = 0, wide = FALSE) ## S4 method for signature 'Venn' getSet(object, subset = NULL, min = 0, wide = FALSE)
object |
Venn object |
subset |
Character vector giving the subset names |
min |
The minimum number of input groups that a subset must belong to e.g. min = 2 will only report those subsets with elements shared by 2 or more input groups. |
wide |
Boolean indicating return wide format (default: FALSE). |
Specific subset information
Kai Guo
A <- sample(1:100, 40, replace = FALSE) B <- sample(1:100, 60, replace = FALSE) C <- sample(1:100, 40, replace = FALSE) res <- venndetail(list(A = A, B = B, C = C)) getSet(res, "A")