Plot position weight matrix or position frequency matrix for different DNA sequence motifs.
MotifPlot(object, motifs, assay = NULL, use.names = TRUE, ...)
object | A Seurat object |
---|---|
motifs | A list of motifs to plot |
assay | Name of the assay to use |
use.names | Use motif names stored in the motif object |
... | Additional parameters passed to |
Returns a ggplot
object
# \donttest{ motif.obj <- Seurat::GetAssayData(atac_small, slot = "motifs") MotifPlot(atac_small, motifs = head(colnames(motif.obj)))# }