title: VennDiagram create list of vennCounts
body: <p>I have a table like this: </p>
  
  <pre><code>&gt; updownregtable                                                           
               PIM WDR MYC OBX                                               
  ILMN_1651282 0   0   0   0                                                 
  ILMN_1651354 0   0   0   0                                                 
  ILMN_1651358 0   0   0   0                                                 
  ILMN_1656638 0   0   0   0                                                 
  ILMN_1657235 0   0   0   0                                                 
  ILMN_1657639 -1  0   0   0  
  </code></pre>
  
  <p>The rownames are codes for genes. The colnames are transfections in a cell.</p>
  
  <p>I make a vennDiagram with the functions in the following link:
  <a href="http://bioinfo-mite.crb.wsu.edu/Rcode/Venn.R" rel="nofollow">http://bioinfo-mite.crb.wsu.edu/Rcode/Venn.R</a></p>
  
  <p>Before making the vennDiagram, vennCounts results gives this output:</p>
  
  <pre><code>&gt; vennCounts(regulationtable)
        PIM WDR MYC OBX Counts
   [1,]   0   0   0   0    740
   [2,]   0   0   0   1      5
   [3,]   0   0   1   0      1
   [4,]   0   0   1   1      0
   [5,]   0   1   0   0      4
   [6,]   0   1   0   1      1
   [7,]   0   1   1   0      0
   [8,]   0   1   1   1      0
   [9,]   1   0   0   0      6
  [10,]   1   0   0   1      0
  [11,]   1   0   1   0      0
  [12,]   1   0   1   1      0
  [13,]   1   1   0   0      1
  [14,]   1   1   0   1      0
  [15,]   1   1   1   0      0
  [16,]   1   1   1   1      0
  </code></pre>
  
  <p>Now I want to create per row a list within all the genenames stored in that group. e.g. like this:</p>
  
  <p>Group 1 - creates a list with 740 genenames</p>
  
  <p>Group 2 - creates a list with 5 genenames</p>
  
  <p>Group 3 - creates a list with 1 genenames</p>
  
  <p>Group 5 - creates a list with 4 genenames</p>
  
  <p>Group 6 - creates a list with 1 genenames</p>
  
  <p>Group 9 - creates a list with 6 genenames</p>
  
  <p>Group 13 - creates a list with 1 genename. </p>
  
  <p>Can you help me?</p>