Description Usage Arguments Details Value See Also Examples
View source: R/create_encoding.R
Converts an encoding to a data frame.
1 | encoding2df(x, sort = FALSE)
|
x |
encoding. |
sort |
if |
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.
data frame with two columns. First column represents an index of a group in the supplied encoding and the second column contains all elements of the 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 | create_encoding(aaprop[1L:5, ], 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.