Skip to content
Prev 15525 / 21312 Next

[Bioc-devel] Extending GenomicRanges::`intra-range-methods`

Hi Michael,

Thank you for the pointer to plyranges - looks very useful!
Cool suggestion, and a really fitting verb :-)
Just slightly modifying your suggestion makes the API fully generic (waaw!), generalizing over left_flank, right_flank, as well as slop:

straddle(leftstart, leftend, rightstart, rightend)

Would it be worth having such functionality in GenomicRanges or plyranges, rather than multicrispr<https://gitlab.gwdg.de/loosolab/software/multicrispr>?
I ended up using left/right for unstranded, and up/down for stranded operations.
True. Actually, the functions would be cleaner without the reduce(), I think I'll take that out.

Cheers,

Aditya