nice_bayesspace_feature_plot: nice_bayesspace_feature_plot

View source: R/nice_bayesspace_feature_plot.R

nice_bayesspace_feature_plotR Documentation

nice_bayesspace_feature_plot

Description

Plot enhanced expression of a given gene resulting from BayesSpace analysis.

Usage

nice_bayesspace_feature_plot(
  enhanced_obj,
  normal_obj = NULL,
  features,
  cols = brewer.rdpu(n = 100),
  show_comparison = F,
  show_title = F,
  plot_enhanced = T,
  n_col = NULL
)

Arguments

enhanced_obj

Name of enhanced BayesSpace object.

normal_obj

Optional: name of Seurat object to show comparison.

features

Genes to plot expression of.

cols

Colormap for plotting.

show_comparison

if T, will plot both "normal" expression in Seurat object as well as enhanced expression.

show_title

show titles on plots?

plot_enhanced

if F, will only plot the Seurat expression.

n_col

number of columns for final plot.

Value

plots.


mvhunter1/mvhfunctions documentation built on May 31, 2024, 3:36 p.m.