| find_indelneighbor_idx | R Documentation | 
Search for the closest indels of the markers
.find_indelneighbor_idx(contig, position, indels_idx, min_dist, indels_size)
contig | 
 a character string vector corresponding to the CHR field value of the vcf for the markers  | 
position | 
 an integer vector corresponding to the POSITION value for the markers  | 
indels_idx | 
 vector of (0-indexed) indices of indels  | 
min_dist | 
 same as min.dist.from.indels option in   | 
indels_size | 
 size of the indels (associated to indels_idx)  | 
Identify if the SNPs are close to an indel
Return a vector consisting of 1 (if the marker is close to an indel) or 0 (if not)
.find_indelneighbor_idx(c("chr1","chr1","chr1"),c(1000,1004,1020),1,5,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.