title: How to plot profiles in R with ggplot2
body: <p>I have a large data set with protein IDs and corresponding abundance profiles across a number of gel fractions. I want to plot these profiles of abundances across the fractions. </p>
  
  <p>The data looks like this</p>
  
  <pre><code>IDs&lt;- c("prot1", "prot2", "prot3", "prot4")
  fraction1 &lt;- c(3,4,2,4)
  fraction2&lt;- c(1,2,4,1)
  fraction3&lt;- c(6,4,6,2)
  plotdata&lt;-data.frame(IDs, fraction1, fraction2, fraction3)
  
  &gt; plotdata
      IDs  fraction1  fraction2  fraction3
  1 prot1          3          1          6
  2 prot2          4          2          4
  3 prot3          2          4          6
  4 prot4          4          1          2
  </code></pre>
  
  <p>I want it to look like this: <a href="https://i.stack.imgur.com/AkqaF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AkqaF.png" alt="a plot made in excel of protein abundances"></a></p>
  
  <p>Every protein has a profile. Every fraction has a corresponding abundance value per protein. I want to have multiple proteins per plot. </p>
  
  <p>I tried figuring out ggplot2 using the cheat sheet and failed. I don't know what the input df should look like and what method I should use to get these profiles. </p>
  
  <p>I would use excel, but a bug draws the wrong profile of my data depending on order of data, so I can't trust it to do what I want.</p>