Description Usage Arguments Value Author(s) Examples
This function constructs an object of class pwm from a matrix. It checks that the matrix has correct dimensions and that columns add up to 1.0.
1 | makePWM(pwm, alphabet="DNA")
|
pwm |
Matrix representing the positon weight matrix |
alphabet |
Character the alphabet making up the sequence. Currently, only "DNA" is supported. |
An object of class pwm.
Oliver Bembom, bembom@berkeley.edu
1 2 3 | #mFile <- system.file("Exfiles/pwm1", package="seqLogo")
#m <- read.table(mFile)
#pwm <- makePWM(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.