viewAlignment: Print Motifs Alignments

Description Usage Arguments Details Author(s) See Also Examples

Description

This function return a list of the alignments of a motiv object for each motif.

Usage

1

Arguments

x

An object of class motiv (usualy provied by motifMatch).

Details

This function shows the alignements for each motif.

Author(s)

Eloi Mercier <emercier@chibi.ubc.ca>

See Also

as.data.frame

Examples

 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)
summary(foxa1.analysis.jaspar )
viewAlignments(foxa1.analysis.jaspar )

alyst/MotIV documentation built on May 12, 2019, 2:33 a.m.