Learn R Programming

Signac (version 1.14.0)

MotifPlot: Plot DNA sequence motif

Description

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

Usage

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

Value

Returns a ggplot object

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

Examples

Run this code
# \donttest{
motif.obj <- Motifs(atac_small)
MotifPlot(atac_small, motifs = head(colnames(motif.obj)))
# }

Run the code above in your browser using DataLab