readPWMfile {MotIV}R Documentation

Read Transfac File

Description

This function is use to read standard Transfac type file.

Usage

  readPWMfile(file)

Arguments

file

Transfac file's name.

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

Value

A list of matrix.

Author(s)

Eloi Mercier <emercier@chibi.ubc.ca>

Examples

#####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=""))

[Package MotIV version 1.36.0 Index]