View source: R/visualization.R
MotifPlot | R Documentation |
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 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 |
Returns a ggplot
object
motif.obj <- Motifs(atac_small)
MotifPlot(atac_small, motifs = head(colnames(motif.obj)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.