makePWM {seqLogo} | R Documentation |
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.
makePWM(pwm, alphabet="DNA")
pwm |
|
alphabet |
|
An object of class pwm.
Oliver Bembom, bembom@berkeley.edu
mFile <- system.file("Exfiles/pwm1", package="seqLogo") m <- read.table(mFile) pwm <- makePWM(m)