Learn R Programming

seqplots (version 1.10.2)

MotifSetup-class: MotifSetup Reference Class

Description

This class is used to initialize motif plots and mix them with track plots.

Arguments

Details

Usage note - the addMotif and addBigWig methods can be chained in following way: MotifSetup()$addMotif("GAGA", window=200L)$addBigWig("path/to/file.bw")

See Also

Other classes: PlotSetArray-class, PlotSetList-class, PlotSetPair-class

Examples

Run this code
#Motifs only
motif1 <- MotifSetup()
motif1$addMotif("GAGA", window=200L)
motif1$addMotif("TATA", window=100L, name="TATA box")

#Motifs and BigWigs
motif2 <- MotifSetup()
motif2$addMotif("GAGA", window=200L)
motif2$addBigWig("path/to/file.bw")

#Chaining commands
motif3 <- MotifSetup()$addMotif("GAGA")$addBigWig("path/to/file.bw")

Run the code above in your browser using DataLab