I would like to replicate an analysis from the paper "Decoding the regulatory landscape of medulloblastoma using DNA methylation sequencing". In more detail, I try to reproduce the plot 1a. Does anyone of you know, how this plot has been created. I am struggling to calculate the density of CpGs with respect to the TSS location. It seems to that this is actually a density plot, with two dimensions.
Help is very well appreciated!
Thanks in advance,