[R-gregmisc-commits] r2080 - pkg/gplots/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Feb 26 21:00:37 CET 2016
Author: warnes
Date: 2016-02-26 21:00:36 +0100 (Fri, 26 Feb 2016)
New Revision: 2080
Modified:
pkg/gplots/R/venn.R
Log:
venn() now support matrix arguments.
Modified: pkg/gplots/R/venn.R
===================================================================
--- pkg/gplots/R/venn.R 2016-02-26 19:59:52 UTC (rev 2079)
+++ pkg/gplots/R/venn.R 2016-02-26 20:00:36 UTC (rev 2080)
@@ -26,6 +26,11 @@
getVennCounts.list(l, universe=universe, verbose=verbose)
}
+getVennCounts.matrix <- function(l, universe=NA, verbose=F, ...)
+{
+ getVennCounts.data.frame(as.data.frame(l), universe=NA, verbose=F, ...)
+}
+
# l offers a list of arrays, their values are to
# be tested for the size of their intersects.
getVennCounts.list<-function(l, universe=NA, verbose=F, intersections=TRUE) {
More information about the R-gregmisc-commits
mailing list