Calculate the keeping probability of each read fragment based on the keeping probability of the windows containing it. Then get the list of read fragments to be kept.
an IRange object defind the starting, ending position of each fragment
an Rle object define the kept probability of each sliding window
an integer vector of read fragment indices to be kept
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.