do_arrow_plot: Produce an arrow plot of peak expression

View source: R/plotting_functions.R

do_arrow_plotR Documentation

Produce an arrow plot of peak expression

Description

Produce an arrow plot of peak expression, utlising the gggenes package.

Usage

do_arrow_plot(
  peaks.seurat.object,
  gene_name,
  peaks.use = NULL,
  population.ids = NULL,
  return.plot = FALSE
)

Arguments

peaks.seurat.object

a Seurat object containing t-SNE coordinates and cluster ID's in @ident slot

gene_name

optional plot title

peaks.use

whether to print the plot to output (default: TRUE).

population.ids

size of the point (default: 0.75)

return.plot

whether to return the ggplot object (default: FALSE)

Value

NULL by default. Returns a ggplot2 object if return.plot = TRUE

Examples

## Not run: 
do_arrow_plot(peaks.seurat.object, gene_name = Favouritegene1)

## End(Not run)

VCCRI/Sierra documentation built on July 3, 2023, 6:39 a.m.