MotifPlot: Plot DNA sequence motif

View source: R/visualization.R

MotifPlotR Documentation

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 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

Value

Returns a ggplot object

Examples


motif.obj <- Motifs(atac_small)
MotifPlot(atac_small, motifs = head(colnames(motif.obj)))


Signac documentation built on Sept. 11, 2024, 9:30 p.m.