Skip to content

Return length of overlap in foverlaps #1975

@Henrik-P

Description

@Henrik-P

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions