readGademPWMFile {MotIV} | R Documentation

## Read Gadem File

### Description

This function is use to read a gadem file containing PWM.

### Usage

      readGademPWMFile(file)

### Arguments

`file` | File's name.

### Details

This function is made to read typicaly output file from Gadem (v1.2). Standard name is 'observedPWMs.txt'.

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

    #####Input#####
    data(FOXA1_rGADEM)
    motifs <- getPWM(gadem)
    motifs.trimed <- lapply(motifs,trimPWMedge, threshold=1)

[Package MotIV version 1.40.0 Index]