Plot position weight matrix or position frequency matrix for different DNA sequence motifs.

MotifPlot(object, motifs, assay = NULL, use.names = TRUE, ...)

Arguments

object

A Seurat object

motifs

A list of motif IDs or motif names to plot

assay

Name of the assay to use

use.names

Use motif names stored in the motif object

...

Additional parameters passed to ggseqlogo

Value

Returns a ggplot object

Examples

# \donttest{
motif.obj <- Motifs(atac_small)
MotifPlot(atac_small, motifs = head(colnames(motif.obj)))
#> Warning: The `<scale>` argument of `guides()` cannot be `FALSE`. Use "none" instead as
#> of ggplot2 3.3.4.
#>  The deprecated feature was likely used in the ggseqlogo package.
#>   Please report the issue at <https://github.com/omarwagih/ggseqlogo/issues>.

# }