Description Usage Arguments Value Examples
Plot a heatmap with motif counts per sequence and associated tree and barplots with motif-wise percentages.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | plotMotifMatrix(object, ...)
## S4 method for signature 'list'
plotMotifMatrix(
object,
tree,
fill,
color = "transparent",
annot = NULL,
annot.fill = NULL,
bar.percentage = TRUE,
show.tips = FALSE
)
## S4 method for signature 'MotifSearchResult'
plotMotifMatrix(object, ...)
## S4 method for signature 'matrix'
plotMotifMatrix(object, ...)
|
object |
a matrix object or list of matrix objects. |
... |
arguments passed down to methods. |
tree |
a tree object. |
fill |
color used for tiles. |
color |
color for tile borders. |
annot |
list of matrices containing annotations. |
annot.fill |
list of character vectors with fill colors for annotation matrices. |
bar.percentage |
logical; whether to show percentages in bar plot (default: TRUE). |
show.tips |
logical; whether to show the sequence names near the tree tips. |
Returns a grob object invisibly.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.