Learn R Programming

Signac (version 1.1.0)

PeakPlot: Plot peaks in a genomic region

Description

Display the genomic ranges in a ChromatinAssay object that fall in a given genomic region

Usage

PeakPlot(object, region, peaks = NULL, color = "dimgrey")

Arguments

object

A Seurat object

region

A genomic region to plot

peaks

A GRanges object containing peak coordinates. If NULL, use coordinates stored in the Seurat object.

color

Fill color for plotted ranges

Value

Returns a ggplot object

Examples

Run this code
# NOT RUN {
PeakPlot(atac_small, region = "chr1-710000-715000")
# }

Run the code above in your browser using DataLab