yomix.tools.arrow

This module provides functions for arrow manipulation.

Functions

arrow_function(points_bokeh_plot, adata, embedding_key, bt_slider_roll, bt_slider_pitch, bt_slider_yaw, source_rotmatrix_etc, bt_toggle_anim, hidden_checkbox_A, div_signature_list, multiselect_signature, sign_nr, sl_component1, sl_component2, sl_component3, label_sign)

Updates the arrow plot visualization based on the input parameters.

Parameters:
  • points_bokeh_plot (Bokeh.plotting.figure) – The Bokeh plot object for rendering arrows.

  • adata (AnnData) – The AnnData object containing single-cell data.

  • embedding_key (str) – Key to retrieve embeddings from the AnnData object.

  • bt_slider_yaw (bt_slider_roll, bt_slider_pitch,) – Slider object controlling the rotation values.

  • source_rotmatrix_etc (Bokeh.models.ColumnDataSource) – Data source for rotation matrix and other parameters.

  • bt_toggle_anim (Bokeh.models.Toggle) – Toggle button for enabling/disabling animations.

  • hidden_checkbox_A (Bokeh.models.CheckboxGroup) – A checkbox group used to manage which data points are in subset A.

  • div_signature_list (Bokeh.models.Div) – Div element displaying the signature list.

  • multiselect_signature (Bokeh.models.MultiSelect) – Multiselect widget for selecting signatures.

  • sign_nr (int) – Number indicating the selected signature.

  • sl_component1 (Bokeh.models.Slider) – Slider for adjusting component 1 of the visualization.

  • sl_component2 (Bokeh.models.Slider) – Slider for adjusting component 2 of the visualization.

  • sl_component3 (Bokeh.models.Slider) – Slider for adjusting component 3 of the visualization.

  • label_sign (bokeh.models.MultiSelect) – A multi-select widget for selecting labels.

Returns:

The button to trigger the computation of the oriented signature.A help button that provides a tooltip with instructions about using the arrow tool.

Return type:

None