Description Usage Arguments Details Value See Also Examples
View source: R/create_encoding.R
Reduces an alphabet using physicochemical properties.
1 | create_encoding(prop, len)
|
prop |
|
len |
length of the resulting encoding. Must be larger than zero and smaller than number of elements in the alphabet. |
The encoding is a list of groups to which elements of an alphabet should be reduced. All elements of the alphabet (all amino acids or all nucleotides) should appear in the encoding.
An encoding.
calc_ed
: calculate the encoding distance between two encodings.
encoding2df
: converts an encoding to a data frame.
validate_encoding
: validate a structure of an encoding.
1 2 3 | enc1 = list(`1` = c("a", "t"),
`2` = c("g", "c"))
encoding2df(enc1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.