| insertPolymorphisms {tigger} | R Documentation |
insertPolymorphisms replaces nucleotides in the desired locations of a
provided sequence.
insertPolymorphisms(sequence, positions, nucleotides)
sequence |
starting nucletide sequence. |
positions |
numeric vector of positions which to be changed. |
nucleotides |
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"))