powered by
insertPolymorphisms replaces nucleotides in the desired locations of a provided sequence.
insertPolymorphisms
insertPolymorphisms(sequence, positions, nucleotides)
A sequence with the desired nucleotides in the provided locations.
starting nucleotide sequence.
numeric vector of positions which to be changed.
character vector of nucleotides to which to change the positions.
insertPolymorphisms("HUGGED", c(1, 6, 2), c("T", "R", "I"))
Run the code above in your browser using DataLab