MotifSet | R Documentation |
"MotifSet"
This MotifSet object is a container for storing the generated motifs from Motif identification softwares, such as MEME.
## Constructor
MotifSet(motifList=GRangesList(), motifEvalues=numeric(),
subjectSeqs=DNAStringSet())
motifList |
A GRangesList. Each GRanges store the starts, ends, strand, seqnames and scores information of one motif sites sequences. |
motifEvalues |
A numeric vector of the E values generated from MEME for each motif. |
subjectSeqs |
A DNAStringSet object. It stores the original sequences which are scanned by the software. |
A MotifSet
object is returned.
signature(x = "MotifSet")
: Getter
signature(x = "MotifSet")
(x, as.prob = FALSE,
shift = 0L, width = NULL, ...):
Calculate the consensus matrix. Other arguments,
please check the consensusMatrix
in Biostrings
package.
signature(x = "MotifSet")
:
Returns the number of motifs.
signature(x = "MotifSet")
(x, n=10L, type="none"):
Gets the sites sequences.
n
is the number of bases to include from flanking region.
type
controls "all", "left", "right" or "none"
flanking sequences are included.
Ge Tan
runMEME
## Not run:
motifSet <- runMEME(file.path(system.file("extdata", package="TFBSTools"),
"crp0.s"),
binary="/usr/local/Cellar/meme/4.10.1/bin/meme",
arguments=list("-nmotifs"=3))
sitesSeq(motifSet, type="all")
sitesSeq(motifSet, type="none")
consensusMatrix(motifSet)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.