getGademPWM {MotIV}R Documentation

Recover PWM

Description

This function selects the PWMs contained in an object of type gadem.

Usage

  getGademPWM(y)

Arguments

y

A gadem object.

Value

A list of PWM.

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 <- getGademPWM(gadem) #depreciated
motifs <- getPWM(gadem) 
motifs.trimed <- lapply(motifs,trimPWMedge, threshold=1)

[Package MotIV version 1.43.0 Index]