vennMatrix | R Documentation |
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.
vennMatrix(l)
l |
a named list of factors |
a matrix with columns for list elements and rows with globally unique factor levels
venCounts
l <- list(a=factor(c('x','y','z')), b=factor(c('w','x','v')))
vennMatrix(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.