Description Usage Arguments Details Value References See Also Examples
Computes the n-gram frequencies vector for a given protein.
1 | ngram(prot, k = 4)
|
prot |
a character string corresponding to the primary structure of the protein. |
k |
a positive integer, between 1 and 5, indicating the k-mer of the words to be counted. |
The one letter code for amino acids is used (capital).
A dataframe with two columns, the first one given the peptides and the second one the corresponding absolute frequency.
Stuart et al. Bioinformatics 2002; 18:100-108.
ngraMatrix(), ffp(), svdgram()
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.