suma2Venn: Creates a Venn Diagram from a matrix of characters

Description Usage Arguments Details Value Author(s) See Also Examples

Description

suma2Venn transforms a matrix or a data frame with characters into a list to draw and display a Venn diagram with up to 7 sets

Usage

1
suma2Venn(x, size = 30, cexil = 0.9, cexsn = 1, zcolor = heat.colors(ncol(x)), ...)

Arguments

x

matrix or data frame of character values

size

Plot size, in centimeters

cexil

Character expansion for the intersection labels

cexsn

Character expansion for the set names

zcolor

A vector of colors for the custom zones

...

Additional plotting arguments for the venn function

Details

suma2Venn creates a list with the columns of a matrix or a data frame of characters which can be taken by the venn to generate a Venn Diagram

Value

suma2Venn returns a Venn Plot such as that created by the venn function

Author(s)

Maria J. Nueda, mj.nueda@ua.es

See Also

venn

Examples

1
2
3
4
5
A <- c("a","b","c", "d", "e", NA, NA)
B <- c("a","b","f", NA, NA, NA, NA)
C <- c("a","b","e","f", "h", "i", "j", "k")
x <- cbind(A, B, C)
suma2Venn(x)

maSigPro documentation built on Nov. 8, 2020, 6:51 p.m.