I have .bed (file format) files, and I would like to make a correlation plot (preferably a line plot) for them.
For example, I want the x axis to be distance (i.e., chromosome 1) and the y axis to be some sort of correlation.
For example, if one of the files has a peak where the other does not, there would be no correlation, and if there are strong peaks for both files at the same location, then there would be high correlation.
Any suggestions? Thanks!