bodkan / admixr

An R package for reproducible and automated ADMIXTOOLS analyses
https://bodkan.net/admixr
Other
28 stars 9 forks source link

Make subset_sites function more generic #25

Closed bodkan closed 6 years ago

bodkan commented 6 years ago

Right now it requires that the provided BED file contains positions of single sites. It does not work with regions in general.

This will probably require something as GenomicRanges, but I would like to avoid pulling all those dependencies in.

bodkan commented 6 years ago

Closed by this. Implemented using data.table's foverlaps function.