Introduces random mutations in DNA sequences given a specified error rate.

mutateSeqs(seqs, error_rate = 0, seed = 19)

Arguments

seqs

DNAStringSet or data.frame with strings.

error_rate

Integer. Percentage of base substituations to introduce.

seed

Integer. Random seed for sampling.

Value

Returns DNAStringSet or data.frame with mutated sequences.