insertSeq {GeneR} | R Documentation |
Inserts a sequence into another sequence
insertSeq(s, insert, from = 0)
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 |
Parameters insert and s are character string sequences and not GeneR sequences
Antoine Lucas
s<-"gtcatgcgtctaggtcagtca" insertSeq(s,"aaaaaaaaaaaaaaa",7)