Plot position weight matrix or position frequency matrix for different DNA sequence motifs.
MotifPlot(object, motifs, assay = NULL, use.names = TRUE, ...)
A Seurat object
A list of motif IDs or motif names to plot
Name of the assay to use
Use motif names stored in the motif object
Additional parameters passed to ggseqlogo
Returns a ggplot
object
# \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>.
# }