plotting module

velotest.plotting.arrow_plot(X_emb: ndarray, V_emb: ndarray, p_values: ndarray = None, h0_rejected: ndarray = None, labels: Series = None, plot_legend: bool = True, label_colormap: Dict | List = None, ax: Axes = None, title=None, fontsize: int = 7, fontweight: str = 'bold', multiplier=1, box=False, vector_friendly: bool = False)

Plot the arrows defined by X and V.

velotest.plotting.compute_angle_on_gridplot_between(adata_visualized_velocity, adata_optimal_velocity, basis='umap')
velotest.plotting.compute_optimal_velocity(Z_velo_position_random, adata, non_empty_neighborhoods_indices, test_statistic_all, used_neighborhoods)
velotest.plotting.compute_velocity_on_grid(X_emb, V_emb, density=None, smooth=None, n_neighbors=None, min_mass=None, autoscale=True, adjust_for_stream=False, cutoff_perc=None)

TODO.

velotest.plotting.cosine_similarity(x, y)
velotest.plotting.get_glyph_colors(x, labels, label_colormap)
velotest.plotting.marker_plot(X_emb: ndarray, p_values: ndarray, h0_rejected: ndarray, ax: Axes = None, multiplier_marker_size=1.5)
velotest.plotting.plot_best_possible_velocities_statistic(Z_expr, best_possible_velocities_statistic, tested_cell_indices, max_value=None, cbar=True, markersize=1.5, ax=None, vector_friendly: bool = False)
velotest.plotting.plot_labels(ax: Axes, embedding: ndarray, point_labels: Series, fontoutline: int = 1, fontweight: str = 'bold', fontcolour: str = 'black', fontsize: int = 12) list[Text]

Plot cluster labels on top of the plot in the same style as scanpy/scvelo.

velotest.plotting.plot_neighborhood(cell, Z_expr, neighborhoods, selected_neighbors=None, s=None, ax=None, vector_friendly: bool = False)
velotest.plotting.plot_optimal_velocity(adata, Z_expr, uncorrected_p_values, labels, label_colormap, test_statistic_all, Z_velo_position_random, used_neighborhoods, name)
velotest.plotting.plot_statistic_distribution(x_limited, values_limited, x_excluded, values_excluded, color=None, bins=50, ax=None, vector_friendly: bool = False)
velotest.plotting.plot_uniformity_histogram(samples, number_bins=None, ax=None, density=True)
velotest.plotting.scatter(X_emb: ndarray, label_colormap: Dict | List = None, labels: Series = None, ax: Axes = None, title=None, marker='o', size=25, show_labels: bool = True, alpha=0.5, **kwargs)