View source: R/plotting_functions.R
do_arrow_plot | R Documentation |
Produce an arrow plot of peak expression, utlising the gggenes package.
do_arrow_plot(
peaks.seurat.object,
gene_name,
peaks.use = NULL,
population.ids = NULL,
return.plot = FALSE
)
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) |
NULL by default. Returns a ggplot2 object if return.plot = TRUE
## Not run:
do_arrow_plot(peaks.seurat.object, gene_name = Favouritegene1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.