Learn R Programming

Signac (version 1.6.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, ...)

Arguments

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 ggseqlogo

Value

Returns a ggplot object

Examples

Run this code
# NOT RUN {
motif.obj <- Seurat::GetAssayData(atac_small, slot = "motifs")
MotifPlot(atac_small, motifs = head(colnames(motif.obj)))
# }

Run the code above in your browser using DataLab