mutateSeqs.Rd
Introduces random mutations in DNA sequences given a specified error rate.
mutateSeqs(seqs, error_rate = 0, seed = 19)
seqs | DNAStringSet or data.frame with strings. |
---|---|
error_rate | Integer. Percentage of base substituations to introduce. |
seed | Integer. Random seed for sampling. |
Returns DNAStringSet or data.frame with mutated sequences.