Description Usage Arguments Value Examples
View source: R/generate_sequences.R
function generates motif from an alphabet TODO: motif length control
1 | generate_single_motif(alphabet, n = 4, d = 6, motifProbs = NULL)
|
alphabet |
elements used to build motif |
n |
number of elements from alphabet |
d |
total sum of gaps |
motifProbs |
alphabet probabilites for motifs |
motif based on given alphabet
1 2 3 | generate_single_motif(1:4)
generate_single_motif(c("a", "b", "c"))
generate_single_motif(1:4, n = 6, d = 2, motifProbs = c(0.7, 0.1, 0.1, 0.1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.