Description Usage Arguments Value Examples
This function returns all k-mers given k in alphabetical order
1 | all.mers(mer)
|
mer |
The number k of nucleotides in the k-mers |
A character vector of k-mers
1 2 3 4 5 6 7 8 9 10 11 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (mer)
{
sort(apply(expand.grid(lapply(1:mer, function(x) {
c("A", "C", "G", "T")
})), 1, function(x) paste(x, collapse = "")))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.