Display gene annotations in a given region of the genome.

AnnotationPlot(object, region, mode = "gene")

Arguments

object

A Seurat object

region

A genomic region to plot

mode

Display mode. Choose either "gene" or "transcript" to determine whether genes or transcripts are plotted.

Value

Returns a ggplot object

Examples

# \donttest{
AnnotationPlot(object = atac_small, region = c("chr1-29554-39554"))

# }