gap_fill: Convert range from ungapped sequence to gapped sequence

View source: R/amplicon_extract.R

gap_fillR Documentation

Convert range from ungapped sequence to gapped sequence

Description

Convert range from ungapped sequence to gapped sequence

Usage

gap_fill(rstart, rend, gaps)

Arguments

rstart

(integer scalar) the start point of the range

rend

(integer scalar) the end point of the range

gaps

(IRanges object) the locations of gaps in the gapped sequence.

Value

named integer of length two, with elements "start" and "end", giving the coordinates in the gapped sequence which correspond to coordinates "rstart" and "rend" in the ungapped sequence.


brendanf/LSUx documentation built on Oct. 10, 2024, 1:31 p.m.