Plot a heatmap with motif counts per sequence and associated tree and barplots with motif-wise percentages.

plotMotifMatrix(object, ...)

# S4 method for list
plotMotifMatrix(
  object,
  tree,
  fill,
  color = "transparent",
  annot = NULL,
  annot.fill = NULL,
  bar.percentage = TRUE,
  show.tips = FALSE
)

# S4 method for MotifSearchResult
plotMotifMatrix(object, ...)

# S4 method for matrix
plotMotifMatrix(object, ...)

Arguments

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.

Value

Returns a grob object invisibly.

Examples

NULL
#> NULL