This is a test version of Biostars. For the public version, visit https://www.biostars.org.
the closest gene to a breakpoint

Dear all, please would you advise :

given a list of chromosomes coordinates (i.e. BREAKPOINTS), and the list of genes promoters (i.e. TSS), shall I use R/BioC, how could I get the closest gene TSS to a BREAKPOINT ? which function shall I use ?

I am looking for a similar function as closestBed in bedtools ...

thanks a lot,

-- bogdan

bedtools r

1 answer

nearest() from GenomicRanges.

Log in to answer this question.