Plot top ligands overlayed on a RNA velocity plot
plot_velocity_clusters.RdVisualizes 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
.h5adanndataobject. Must have hadentrain_cluster_velocitiesrun on it.- plot_output_path
Filename of plot to save.
- velocity_cluster_key
Column name of
adata.obsmetadata denoting velocity clusters.- vector_type
Whether to plot a
scvelo.pl.velocity_embedding_stream()plot or ascvelo.pl.velocity_embedding_grid()plot. Defaultstream- ...
**kwargsto be passed toscvelo.pl.velocity_embedding_*