indelSeqFlanksStartEnd | R Documentation |
Helper function for extractSigsIndel(), getting flank start/end positions first, then retrieving the sequences using getSeq with a vectorized input improves speed significantly.
indelSeqFlanksStartEnd(
chrom,
pos,
indel.len,
indel.type,
n.indel.lengths.l = 1,
n.indel.lengths.r = 1
)
chrom |
A character stating the chromosome |
pos |
The REF position as an integer |
indel.len |
The length of the indel as an integer |
indel.type |
A character stating whether the indel is an insertion ('ins') or deletion ('del') |
n.indel.lengths.l |
The length of the flanking sequence to return (measured in indel lengths) |
n.indel.lengths.r |
See n.indel.lengths.l |
A vector of the left flank start/end position and right flank start/end position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.