gap2NoGap: Convert gapped coordinates to what the coordinates would be...

View source: R/dna.R

gap2NoGapR Documentation

Convert gapped coordinates to what the coordinates would be without gaps

Description

Convert gapped coordinates to what the coordinates would be without gaps

Usage

gap2NoGap(gapSeq, coords)

Arguments

gapSeq

the reference sequence containing gaps

coords

coordinates on the gapped gapSeq to be converted into equivalent nongap coordinatess

Value

equivalent gapped coordinates

Examples

gap2NoGap('AA-TT-GG',7)
gap2NoGap('AAA----TT-GG',1:10)

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