Description Usage Arguments Value Examples
Generate n
random DNA sequnces of length m
, optional exclude
stop codons.
1 2 3 4 | seq_random(n = 1, m, no.stop.codon = FALSE, ...)
## S4 method for signature 'numeric,numeric'
seq_random(n, m, no.stop.codon)
|
n |
the number of the output sequence(s). |
m |
the length of the ouput sequence(s). Eighter a fixed number or a vector of different numbers. |
no.stop.codon |
Default FALSE. If TRUE, the stop codons in the frame 1 would be substituted to another random codon. |
... |
... |
a DNAStringSet object
1 2 3 4 5 | seq_random(n = 1, m = 99)
seq_random(n = 10, m = 30)
seq_random(n = 10, m = 1:10)
seq.nsc <- seq_random(n = 10, m = 100, no.stop.codon = TRUE)
get_cu(seq.nsc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.