# Create strings to act as a sample sequences and a reference sequence
seqs <- c("----GATA", "GAGAGAGA", "TANA")
ref <- "GATAGATA"
# Find the differences between the two
getMutatedPositions(seqs, ref)
Run the code above in your browser using DataLab