title: Arranging data in rows in R
body: <p>I have the OMIM gene list (about 15,000 genes) with corresponding diseases that looks like this:</p>
  
  <pre><code>SLC6A8,CRTR,CCDS1   Cerebral creatine deficiency syndrome 1, 300352 (3)
  BCAP31,BAP31,DXS1357E,DDCH  Deafness, dystonia, and cerebral hypomyelination
  ABCD1,ALD,AMN   Adrenoleukodystrophy, 300100 (3), X-linked recessive
  PLXNB3,PLXN6    NA  
  </code></pre>
  
  <p>For some diseases, we have more than one gene name associated with a disease. I would like to organize this so I have only one genename per row and the associated disease:</p>
  
  <pre><code>SLC6A8 Cerebral creatine deficiency syndrome 1, 300352 (3)
  CRTR Cerebral creatine deficiency syndrome 1, 300352 (3)
  CCDS1 Cerebral creatine deficiency syndrome 1, 300352 (3)
  </code></pre>
  
  <p>Could this be done in R?</p>