Skip to contents

Visualizes the ligands most likely to be driving the observed RNA velocities.

Usage

plot_velocity_clusters(
  adata_clustered,
  plot_output_path,
  velocity_cluster_key,
  vector_type = "stream",
  ...
)

Arguments

adata_clustered

Path to a .h5ad anndata object. Must have had entrain_cluster_velocities run on it.

plot_output_path

Filename of plot to save.

velocity_cluster_key

Column name of adata.obs metadata denoting velocity clusters.

vector_type

Whether to plot a scvelo.pl.velocity_embedding_stream() plot or a scvelo.pl.velocity_embedding_grid() plot. Default stream

...

**kwargs to be passed to scvelo.pl.velocity_embedding_*

Value

NULL. Saves a plot in working directory with name plot_output_path