readGademPWMFile {MotIV} | R Documentation |
This function is use to read a gadem file containing PWM.
readGademPWMFile(file)
file |
File's name. |
This function is made to read typicaly output file from Gadem (v1.2). Standard name is 'observedPWMs.txt'.
Eloi Mercier <emercier@chibi.ubc.ca>
#####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)