View source: R/mitogenome_seq_repos.R
mitogenome_seq_repos | R Documentation |
This function takes a linear sequence of a mitochondrial genome and repositions it to start at a new base position.
mitogenome_seq_repos(dnaSeq, newStartPos)
dnaSeq |
Character: The mitogenomic sequence. |
newStartPos |
Integer: The new start position for the sequence. |
The sequence is repositioned with respect to the value of
newStartPos
. For example, consider a value of dnaSeq
:
GCGCGCGCGCATATGACTAA
For a value of newStartPos==10
, the 10th base would become the new
start position and the 9th position in the original sequence is a cutoff.
Below this cutoff, the sequence is translocated to the right.
GCGCGCGCG | CATATGACTAA (original sequence, cut at 9th base)
CATATGACTAAGCGCGCGCG (new sequence, repositioned)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.