Hi , 

I would like to plot a bed file with numeric values ( = bedgraph). 
My input data are : chr pos start end value  ( value between -1 and 1) 

exemple : 

    chr19   50906809        50907015          0.8173737057494912
    chr19   50909381        50909562          0.2639404477044525
    chr19   50909499        50909702          0.5421707627971464
    chr19   50909697        50909863          0.7663584319162735


I would like something like this : 

![enter image description here][1]

Do you have an easy way ? R package or matplotlib solution ?                 


  [1]: https://snag.gy/AWx9hK.jpg
I just discovered the Sushi package which do the job pretty well !   
https://bioconductor.org/packages/release/bioc/html/Sushi.html  
See [plotbedgraph][1]


  [1]: https://www.rdocumentation.org/packages/Sushi/versions/1.10.0/topics/plotBedgraph