dplot: Dplot function allows users to visualize the detail function...

Description Usage Arguments Value Author(s) Examples

Description

The amount of members within each group determined by venndetail will be displayed as a bar plot. This will include all groups such as shared, pairwise, and unique. The order of the figure can be adjusted by the users by using the order argument.The text size argument will allow users to change the size of the numbers above the bars indicating the total number of members within each group.

Usage

1
2
3
4
dplot(object, order = FALSE, textsize = 5)

## S4 method for signature 'Venn'
dplot(object, order = FALSE, textsize = 5)

Arguments

object

Venn object

order

Boolean indicating whether to sort the bar (default: FALSE).

textsize

Numeric vector giving the text size above the bar.

Value

Produces a bar plot displaying the total counts within each group

Author(s)

Kai Guo

Examples

1
2
3
4
5
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))
dplot(res, order = TRUE, textsize = 3)

guokai8/VennDetail documentation built on July 28, 2021, 1:02 p.m.