Plot top ligands overlayed on a RNA velocity plot
plot_velocity_clusters.Rd
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 hadentrain_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 ascvelo.pl.velocity_embedding_grid()
plot. Defaultstream
- ...
**kwargs
to be passed toscvelo.pl.velocity_embedding_*