title: How to list row values in a column based on grouping value in R?
body: <p>Hej,</p>
  <p>I have an input the file that has one column with gene id and then one with GO terms with multiple rows per gene (anywhere from 1 to &gt;20). The format I need to generate has one single row for each unique gene id, with the GO terms in a second column, separated by semi-colons.</p>
  <p>My data:</p>
  <pre><code>GeneID    GO
  am1001    190909
  am1001    600510
  am1002    500050
  am1002    432323
  am1002    100209
  </code></pre>
  <p>The desired output:</p>
  <pre><code>GeneID    GO_list
  am1001    190909; 600510
  am1002    ​50050; 432323; 100209
  </code></pre>
  <p>I have tried things similar to <a href="https://stackoverflow.com/questions/58906178/how-to-create-new-columns-in-a-data-frame-based-on-row-values-in-r">How to create new columns in a data.frame based on row values in R?</a> but was not successful.</p>
  <p>Thanks in advance for your advice! :)</p>