Learn R Programming

MotIV (version 1.28.0)

readPWMfile: Read Transfac File

Description

This function is use to read standard Transfac type file.

Usage

readPWMfile(file)

Arguments

file
Transfac file's name.

Value

Details

This function is designed to read standard Transfac type file. For more information about the format, please refere to http://mcast.sdsc.edu/doc/transfac-format.html

Examples

Run this code
#####Database and Scores#####
path <- system.file(package="MotIV")
jaspar <- readPWMfile(paste(path,"/extdata/jaspar2010.txt",sep=""))
jaspar.scores <- readDBScores(paste(path,"/extdata/jaspar2010_PCC_SWU.scores",sep=""))

Run the code above in your browser using DataLab