noGap2Gap: Convert ungapped coordinates to what the coordinates would be...

View source: R/dna.R

noGap2GapR Documentation

Convert ungapped coordinates to what the coordinates would be with gaps

Description

Convert ungapped coordinates to what the coordinates would be with gaps

Usage

noGap2Gap(gapSeq, coords)

Arguments

gapSeq

the reference sequence containing gaps

coords

coordinates on the ungapped gapSeq to be converted into equivalent gap coordinates

Value

equivalent ungapped coordinates

Examples

noGap2Gap('AA-TT-GG',5)
noGap2Gap('AAA----TT-GG',1:7)

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.