[R-gregmisc-users] SF.net SVN: r-gregmisc:[1997] trunk/gplots/man/venn.Rd
Brought to you by:
warnes
|
From: <wa...@us...> - 2015-05-01 15:58:44
|
Revision: 1997
http://sourceforge.net/p/r-gregmisc/code/1997
Author: warnes
Date: 2015-05-01 15:58:41 +0000 (Fri, 01 May 2015)
Log Message:
-----------
Summary: venn example used 'F' instead of 'FALSE'.
Modified Paths:
--------------
trunk/gplots/man/venn.Rd
Modified: trunk/gplots/man/venn.Rd
===================================================================
--- trunk/gplots/man/venn.Rd 2015-05-01 15:34:19 UTC (rev 1996)
+++ trunk/gplots/man/venn.Rd 2015-05-01 15:58:41 UTC (rev 1997)
@@ -37,7 +37,7 @@
indexes of group intersections (1, 2, .., N), or a data frame containing
indicator variables (TRUE, FALSE, TRUE, ..) for group intersectionship.
Group names will be taken from the component list element or column
- names.
+ names.
}
\value{
Invisibly returns an object of class "venn", containing a matrix of
@@ -59,8 +59,8 @@
## construct some fake gene names..
oneName <- function() paste(sample(LETTERS,5,replace=TRUE),collapse="")
geneNames <- replicate(1000, oneName())
-
-##
+
+##
GroupA <- sample(geneNames, 400, replace=FALSE)
GroupB <- sample(geneNames, 750, replace=FALSE)
GroupC <- sample(geneNames, 250, replace=FALSE)
@@ -113,7 +113,7 @@
tmp
##
-## Example to determine which elements are in A and B but not in
+## Example to determine which elements are in A and B but not in
## C and D: first determine the universe, then form indicator columns
## and perform intersections on these. R allows using the set operations
## directly, but some might find this approach more intuitive.
@@ -139,8 +139,7 @@
## Intriduced with gplots 2.16, the names of individuals for everz intersection
## is offered as an attribute to the retrun value.
##
-
-a<-venn(list(1:5,3:8),show.plot=F,intersections=TRUE)
+a<-venn(list(1:5,3:8), show.plot=FALSE)
intersections<-attr(a,"intersections")
print(intersections)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|