tests/read_pwm.R

require("rtfbs")
exampleArchive <- system.file("extdata", "NRSF.zip", package="rtfbs")
pwmFile <- "pwm.meme"
unzip(exampleArchive, pwmFile)
# Read in Position Weight Matrix (PWM) from MEME file from
#  the examples into a Matrix object
pwm <- read.pwm(pwmFile)
# Print PWM as an R matrix
print(pwm)
unlink("pwm.meme")

Try the rtfbs package in your browser

Any scripts or data that you put into this service are public.

rtfbs documentation built on Jan. 22, 2020, 1:07 a.m.