Description Usage Arguments Details Value Author(s) See Also Examples
Aligns the motifs using compare_motifs()
, then averages the
motif PPMs. Currently the multifreq
slot, if filled in any of the motifs,
will be dropped. Only 0-order background probabilities will be kept.
Motifs are merged one at a time, starting with the first entry in the
list.
1 2 3 4 | merge_motifs(motifs, method = "ALLR", use.type = "PPM", min.overlap = 6,
min.mean.ic = 0.25, tryRC = TRUE, relative_entropy = FALSE,
normalise.scores = FALSE, min.position.ic = 0, score.strat = "sum",
new.name = NULL)
|
motifs |
See |
method |
|
use.type |
|
min.overlap |
|
min.mean.ic |
|
tryRC |
|
relative_entropy |
|
normalise.scores |
|
min.position.ic |
|
score.strat |
|
new.name |
|
See compare_motifs()
for more info on comparison parameters.
If using a comparison metric where 0s are not allowed (KL
, ALLR
, ALLR_LL
, IS
),
then pseudocounts will be added internally. These pseudocounts are only used for
comparison and alignment, and are not used in the final merging step.
Note: score.strat = "a.mean"
is NOT recommended, as merge_motifs()
will
not discriminate between two alignments with equal mean scores, even if one
alignment is longer than the other.
A single motif object. See convert_motifs()
for
available formats.
Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(MotifDb)
merged.motif <- merge_motifs(MotifDb[1:5])
## End(Not run)
m1 <- create_motif("TTAAACCCC", name = "1")
m2 <- create_motif("AACC", name = "2")
m3 <- create_motif("AACCCCGG", name = "3")
view_motifs(merge_motifs(c(m1, m2, m3)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.