Description Usage Arguments Value Examples
Pass in a vector of nucleotides, the probability of any given nucleotide being inserted, and get back a vector with insertion mutations.
1 2 3 | insertion_mutator(nt_sequence, insertion_rate_A = 0.05,
insertion_rate_T = 0.05, insertion_rate_C = 0.05,
insertion_rate_G = 0.05)
|
nt_sequence |
A vector of nucleotides, i.e. c("C","A","T","G","A"). |
insertion_rate_A |
The probability of an "A" insertion occurring. |
insertion_rate_T |
The probability of an "T" insertion occurring. |
insertion_rate_C |
The probability of an "C" insertion occurring. |
insertion_rate_G |
The probability of an "G" insertion occurring. |
A vector of nucleotides, i.e. c("C","A","T","G","A"), with any insertions made included.
1 2 3 4 5 6 7 8 | set.seed(1)
insertion_mutator(
c("C","A","T","G","A"),
insertion_rate_A = 0.05,
insertion_rate_T = 0.05,
insertion_rate_C = 0.05,
insertion_rate_G = 0.05
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.