I have a file with start and end position according to 0. My file contains 3 columns (start, end, gene). I would create a distribution plot. On the x-axis is the distance from 0 and on the y-axis is number of peak found at that distance. I want to bin the distances from the 0.
How to plot density vs distance from 0 using my file*and R? How to use start and end?
Thanks in advance