insertSeq {GeneR}R Documentation

Sequence insertion

Description

Inserts a sequence into another sequence

Usage

  insertSeq(s, insert, from = 0)

Arguments

s

String/scalar, The mother sequence

insert

String/scalar, The sequence to be inserted

from

Integer/scalar, Position of the insertion, 0 = last position, 1 = first

Details

Parameters insert and s are character string sequences and not GeneR sequences

Author(s)

Antoine Lucas

Examples

  s<-"gtcatgcgtctaggtcagtca"
  insertSeq(s,"aaaaaaaaaaaaaaa",7)

[Package GeneR version 2.24.0 Index]