plyranges
plyranges copied to clipboard
other endomorphic methods
Some gaps in the API that are covered by GenomicRanges are slidingWindows
and tile
, we could make the following:
set_tiles
set_windows
Are these actually setting the new ranges on the input? I think those would produce new ranges. I think tile()
is already a verb; we may not need to change it. slidingWindows()
could become make_sliding_windows()
.
I was thinking yesterday that we may want a verb, if we do not already have it, that converts from a GRanges to a GPos, i.e., it expands ranges into position-wise elements. The original design document suggests compute_runs()
for doing the opposite (GPos->GRanges). But for GRanges->GPos, what would be a good verb? expand_to_positions()
? Maybe compute_runs()
should instead be collapse_to_runs()
?