ベン図を描いていたのだが、各要素がどこに所属するか、Rに入ってない(!?!?)。 というわけで無理矢理作った。 library(gplots) # venn の example から 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) GroupD <- sample(geneNames, 300, replace=FALSE) i
![ベン図の要素 - 驚異のアニヲタ社会復帰の予備](https://cdn-ak-scissors.b.st-hatena.com/image/square/588adb65d0eb524aad876cf465e7bdb14b5a80a7/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.d.st-hatena.com%2Fdiary%2FMikuHatsune%2F2013-05-31.png)