Description Usage Arguments Value
View source: R/make_sinuc_PWMs.R
The given matrix (or simply a vector) is reshaped to have four rows for four nucleotides and a relevant number of columns.
1 | make_sinuc_PWMs(mat, add_pseudo_counts = TRUE, scale = TRUE)
|
mat |
Actually a vector that will be reshaped into a (PWM) matrix of DNA sequences. |
add_pseudo_counts |
Logical, taking values TRUE or FALSE, specifying whether or not pseudocounts are added to the matrix. |
scale |
Logical, taking values TRUE or FALSE, specifying whether or not the matrix is scaled column-wise, i.e., all columns summed to 1. |
A (PWM) matrix with 4 rows corresponding to the 4 nucleotides (A, C, G, T) and the relevant number of columns (i.e., number of elements in given vector/4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.