suma2Venn {maSigPro} | R Documentation

## Creates a Venn Diagram from a matrix of characters

### 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

    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)

Ana Conesa and Maria Jose Nueda, mj.nueda@ua.es

### See Also

`venn`

### Examples

    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)

[Package maSigPro version 1.64.0 Index]