vennpie {VennDetail} | R Documentation |
Vennpie uses the venn object and to creates a figure in the form of a venn pie diagram rather than a traditional venn diagram. Users can highlight a specific sections of the venn pie.
vennpie(object, subset = NULL, top = 31, min = 0, color = NULL, revcolor = "lightgrey", any = NULL, show.number = TRUE, show.x = TRUE, sep = "_", log = FALSE, base = NULL, percentage = FALSE) ## S4 method for signature 'Venn' vennpie(object, subset = NULL, top = 31, min = 0, color = NULL, revcolor = "lightgrey", any = NULL, show.number = TRUE, show.x = TRUE, sep = "_", log = FALSE, base = NULL, percentage = FALSE)
object |
Venn object |
subset |
Character vector giving the subset users want to highlight. |
top |
number of subsets with largest to display (default: 31) |
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. |
color |
Character vector giving the colors of the subsets. |
revcolor |
Character giving the color for the non-selected subsets. |
any |
Number to indicate selected subsets, such as 1 means any unique subsets, 2 means any subsets shared by two groups. |
show.number |
Boolean indicating whether to display the element numbers of the subsets or not (default: TRUE). |
show.x |
Boolean indicating whether to show subset labels outside the circle (default: TRUE). |
sep |
Character string used to separate the terms when concatenating group names into new column names (colnames). |
log |
Boolean indicating whether to transform the data in log scale . |
base |
Base value for log transformation. |
percentage |
Boolean indicating whether to display subset percentages (default: FALSE). |
vennpie figure
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)) vennpie(res)