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

View source: R/plots.R

vennMatrixR 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)


caroline documentation built on Nov. 9, 2023, 9:07 a.m.