df2ppm | R Documentation |
Generates a positional probability matrix (PPM).
df2ppm(data, ID_col, alphabet, c = 5)
data |
A data.frame with a minimum of 2 columns. One named |
ID_col |
The name of the column in |
alphabet |
A character vector containing the alphabet letters present in |
c |
an integer used to round up the numbers |
A data frame with positional probabilities.
df2ppm(data, ID_col = 'Species', alphabet = c("A", "C", "G", "T"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.