df2pwm | R Documentation |
Generate a positional weight matrix (PWM) from a set of sequences. This function comes with batteries included.
df2pwm(
data,
ID_col,
alphabet,
bg_prob_letter,
pseudocount_letter,
long_format = FALSE
)
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 |
bg_prob_letter |
Explain well in details. |
pseudocount_letter |
Explain well in details. |
long_format |
Logical. If |
Here I'll explain more things, ideally with formulas if LaTeX syntax was supported.
A data.frame or a tidy long format data.frame
df2pwm(data, ID_col = 'Species', alphabet = c('a', 'c', 'g', 't'), long_format = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.