Description Usage Arguments Details Value Author(s) Examples
Mutate a vector of DNA or RNA sequences; vectorized.
1 |
sequences |
Character vector representing the wild type DNA or RNA sequences to be mutated. Each sequences in a separate string. |
start |
Integer vector, ith elements represents the nucleotide positions that the ith mutation starts. |
stop |
Integer vector, ith element represents the nucleotide position that the ith mutation ends (last mutant nucleotide) |
mut |
Character vector of mutant sequences that the indicated positions should be changed to. |
wt |
Optional character vector, the part of the sequences to be replaced by the mutant sequences. In the same order as wt_sequences. Included only for checking purposes to make sure the position to mutate is correct. |
Vectorized function: The ith sequences in the sequences vector will be mutated at the ith position in the start and stop vectors, and changed to the ith mutation provided in the mut vector. Error if the wild type sequences at the postions provided does not match the wt seqment that you are trying to change. Error if the mutant sequences provided does not match the length of the start and stop positions.
Character vector of the mutant sequences.
Rachel Silverstein (aut)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.