Description Usage Arguments Details Value Author(s) See Also Examples
This function coerces a MotIV object into a data frame.
1 2 | ## S4 method for signature 'motiv'
as.data.frame(x)
|
x |
An object of class |
'as.data.frame' returns a data frame.
This object regroups all the TF identified by MotIV
with the corresponding evalue and alignments.
A data.frame
object.
Eloi Mercier <emercier@chibi.ubc.ca>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #####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)
#####Analysis#####
foxa1.analysis.jaspar <- motifMatch(inputPWM=motifs,align="SWU",cc="PCC",database=jaspar,DBscores=jaspar.scores,top=5)
foxa1.analysis.jaspar.df = as.data.frame(foxa1.analysis.jaspar)
head(foxa1.analysis.jaspar.df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.