Skip to contents

Visualize the top gene likelihoods for each velocity clusters.

Usage

plot_velocity_likelihoods_heatmap(
  obj,
  velocity_clusters = NULL,
  n_top_genes = 5,
  color_low = "#f6ffff",
  color_high = "#01bfc4",
  colorscale = "BuPu",
  rescale_columns = TRUE
)

Arguments

obj

A seurat object that has been analyzed with entrain_velocity

velocity_clusters

Character vector of velocity clusters to include in the plot. Default NULL - include all velocity clusters,

n_top_genes

Number of top likelihood genes to visualize. Default 10.

color_low

Hex code of lower limit

color_high

Hex code of upper limit.

colorscale

Name of a color palette to be passed to the palette argument of scale_fill_distiller. Overrides color_low and color_high.

rescale_columns

Boolean. If TRUE, rescales all likelihoods between 0 and 1.

Value

A gglot2 plot object.