Description Usage Arguments Value
'Degenerates' n-grams by aggregating amino acid or nucleotide elements into bigger groups.
1 | degenerate_ngrams(x, element_groups, binarize = FALSE)
|
x |
object containing n-grams. |
element_groups |
encoding of elements: list of groups to which elements of n-grams should be aggregated. Must have unique names. |
binarize |
logical indicating if n-grams should be binarized |
A character
vector or matrix (if input is a matrix)
containing degenerated n-grams.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.