insertPolymorphisms - Insert polymorphisms into a nucleotide sequence
insertPolymorphisms replaces nucleotides in the desired locations of a
insertPolymorphisms(sequence, positions, nucleotides)
- starting nucletide sequence.
- numeric vector of positions which to be changed.
- character vector of nucletides to which to change the positions.
A sequence with the desired nucleotides in the provided locations.
insertPolymorphisms("HUGGED", c(1, 6, 2), c("T", "R", "I"))