From the not yet implemented argument minoverlap in foverlaps: "...length of overlap between these two intervals is...".
Given that the length of overlaps will be calculated anyway when minoverlap eventually is implemented, wouldn't it be nice to be able to return these lengths, perhaps through an additional argument like e.g. lengthoverlaps = FALSE (default) / TRUE?
I have seen quite a few posts on such overlap widths in genomics (calculated using functions in GenomicRanges, e.g. here, here, and here) and in posts on overlapping date ranges.
I wish to take the opportunity to thank everyone in the data.table team for your fantastic work!
From the not yet implemented argument
minoverlapinfoverlaps: "...length of overlap between these two intervals is...".Given that the length of overlaps will be calculated anyway when
minoverlapeventually is implemented, wouldn't it be nice to be able to return these lengths, perhaps through an additional argument like e.g.lengthoverlaps = FALSE (default) / TRUE?I have seen quite a few posts on such overlap widths in genomics (calculated using functions in
GenomicRanges, e.g. here, here, and here) and in posts on overlapping date ranges.I wish to take the opportunity to thank everyone in the
data.tableteam for your fantastic work!