# Define example input sequence
sequence <- "NGATCTGACGACACGGCCGTGTATTACTGTGCGAGAGATA.TTTA"
# Simulate using the default human 5-mer targeting model
# Introduce 6 mutations
shmulateSeq(sequence, numMutations=6, frequency=FALSE)
# Introduction 5% mutations
shmulateSeq(sequence, numMutations=0.05, frequency=TRUE)
Run the code above in your browser using DataLab