Description Usage Arguments Value
View source: R/make_sinuc_PWMs.R
This function converts the basis matrix with basis vectors of dinucleotide information into matrix of dimension 16 x (sequence_length) for visualization.
1 | make_dinuc_PWMs(vec, add_pseudo_counts = TRUE, scale = TRUE)
|
vec |
Column vector of the basis matrix |
add_pseudo_counts |
Whether pesudocounts are to be added. TRUE or FALSE. |
scale |
Whether to perform per position scaling of the matrix. TRUE or FALSE |
A (PWM) matrix with 16 rows corresponding to the dinucleotide combinations of the four nucleotides (A, C, G, T) and the relevant number of columns (i.e., number of elements in given vector/16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.