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

Description Usage Arguments Value See Also Examples

View source: R/plots.R

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

1

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

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

vennMatrix(l)

caroline documentation built on May 1, 2019, 9:19 p.m.