R: Create a Venn Ready Matrix out of a List of Factors

vennMatrix {caroline} | R Documentation

## Create a Venn Ready Matrix out of a List of Factors

### Description

The limma package has great functions for making venn diagrams from a matrix. This function is provides upstream functionality to turn a list of factors into this required input format.

### Usage

    vennMatrix(l)

### Arguments

`l` | a named list of factors

### Value

a matrix with columns for list elements and rows with globally unique factor levels

### See Also

venCounts

### Examples

    l <- list(a=factor(c('x','y','z')), b=factor(c('w','x','v')))

    vennMatrix(l)

[Package caroline version 0.7.6 Index]