Hello everyone
I have a table of two columns
Category size mRNA 2000 mRNA 2300 mRNA 15000 siRNA 40 tRNA 120 siRNA 78 siRNA 38 mRNA 800
And I need to make a sensity plot (like here http://www.statmethods.net/graphs/images/density3.png) so that put the size in x and the desnity in Y
Is there a way to do this?
Ps: I used ggplot but I can not color that lines and leave the fill empty
Thank you in advance.
btw the link is not opening any image.
if you are using ggplot2
If you are using just R base
use the paramters for color and fill. if you want to fill.
Just to clarify it is not a bioinformatics question , probably an R plot or stackoverflow.
Terrific answer. The reshape2 package is the key. Thank you!
Indeed it is but sadly the OP did not acknowledge or upvote it. ;)