Description Usage Arguments Details Value Author(s) References See Also Examples
Show sequence logo. If given a list of more than one motif, then the motifs are aligned with the first in the list.
1 2 3 4 5 | view_motifs(motifs, use.type = "ICM", method = "ALLR", tryRC = TRUE,
min.overlap = 6, min.mean.ic = 0.25, relative_entropy = FALSE,
normalise.scores = FALSE, min.position.ic = 0, score.strat = "sum",
return.raw = FALSE, dedup.names = FALSE, show.positions = TRUE,
show.positions.once = TRUE, show.names = TRUE, ...)
|
motifs |
See |
use.type |
|
method |
|
tryRC |
|
min.overlap |
|
min.mean.ic |
|
relative_entropy |
|
normalise.scores |
|
min.position.ic |
|
score.strat |
|
return.raw |
|
dedup.names |
|
show.positions |
|
show.positions.once |
|
show.names |
|
... |
Additional options for |
Since the ggseqlogo package can only plot individual
characters and not strings, plotting the multifreq
slot is not
supported. See the examples
section for plotting the multifreq
slot using the Logolas package.
See compare_motifs()
for more info on comparison parameters.
Note: score.strat = "a.mean"
is NOT recommended, as view_motifs()
will
not discriminate between two alignments with equal mean scores, even if one
alignment is longer than the other.
A ggplot object. If return.raw = TRUE
, a list.
Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca
logolasuniversalmotif
\insertRefggseqlogouniversalmotif
compare_motifs()
, add_multifreq()
1 2 3 4 5 6 7 8 | ## plotting multifreq motifs:
## Not run:
motif <- create_motif()
motif <- add_multifreq(motif, sample_sites(motif))
Logolas::logomaker(motif["multifreq"][["2"]], type = "Logo",
color_type = "per_symbol")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.