discern_overlap | R Documentation |
calculate the unique region defined by 'Venn' object and the parameter 'slice'.
discern_overlap(venn, slice = "all")
## S4 method for signature 'Venn'
discern_overlap(venn, slice = "all")
venn |
a Venn object |
slice |
index of Venn members, default is "all" |
region items
gaospecial@gmail.com
library(ggVennDiagram)
venn <- Venn(list(A=1:3,B=2:5,C=c(1L,3L,5L)))
discern_overlap(venn, slice = "all")
# is equal to
overlap(venn, slice = "all")
# however, `discern_overlap()` only contains specific region
discern_overlap(venn, slice = 1:2)
# is different from
overlap(venn, slice = 1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.