Peptides are encoded using the BLOSUM62 probability matrix (See BLOSUM62_PROB data matrix)
A character vector of peptides to be encoded
Each position in the peptide become a vector of 20 values, corresponding to the rounded log odds ratio for substituting the amino acid in the peptide with each of the 20 standard proteogenic amino acids.
The final result is a 3D array (tensor) of peptide 'images' with
20 slices, which is stored as a 3D array (tensor)
A 3D array (tensor) of peptide 'images'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.