title: creating a DTM from a 3 column CSV file with r
body: <p>I have that csv file, containing 600k lines and 3 rows, first one containing a disease name, second one a gene, a third one a number something like that: i have roughly 4k disease and 16k genes so sometimes the disease names and genes names are redudant.</p>
  
  <p>cholera xx45 12
  Cancer  xx65 1
  cholera xx65 0</p>
  
  <p>i would like to make a DTM matrix using R, i've been trying to use the Corpus command from the tm library but corpus doesn't reduce the amount of disease and size's 600k ish, i'd love to understand how to transform that file into a DTM.</p>
  
  <p>I'm sorry for not being that precise, totally starting with computer science things as a bio guy :)
  Cheers!</p>