find_overlapping_coordinates | R Documentation |
Find peaks that overlap a specific genomic location
find_overlapping_coordinates(coord_list, coord, maxgap = 0)
coord_list |
A list of coordinates to be searched for overlap in the form chr_100_2000. |
coord |
The coordinates that you want to find in the form chr1_100_2000. |
maxgap |
The maximum distance in base pairs between coord and the coord_list that should count as overlapping. Default is 0. |
A character vector of the peaks that overlap coord.
test_coords <- c("chr18_10025_10225", "chr18_10603_11103", "chr18_11604_13986", "chr18_157883_158536", "chr18_217477_218555", "chr18_245734_246234") find_overlapping_coordinates(test_coords, "chr18:10,100-1246234")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.