VariantSubcloneTable.callback_subclone_table_modifications#
missionbio.mosaic.workflows.variant_subclone_table.VariantSubcloneTable.callback_subclone_table_modifications
- VariantSubcloneTable.callback_subclone_table_modifications(selected_rows: List[int], max_ado_score: str, min_clone_size: str, subclone_columns: List[Dict], selected_cells: Optional[List], subclone_data: List) Tuple[List[Dict], List[Dict], List[Dict], str, List, Dict] #
The callback that modifies the subclone table and handles all interactions related to the subclone table
- Parameters:
- selected_rowsList
The indices of the rows selected in the variants table
- max_ado_scorestr
The value in the Max ADO Score text input field
- min_clone_sizestr
The value in the Min Clone Size text input field
- subclone_columnsList[Dict]
Information for each column in the subclone table, the relevant fields are ‘id’, ‘name’, and ‘renamable’
- selected_cellsList
The indices of the cells selected in the subclone table.
- subclone_dataList
The data of the subclone table
- Returns:
- subclone_dataList[Dict]
The data of the subclone table
- subclone_columnsList[Dict]
Information for each column in the subclone table, the relevant fields are ‘id’, ‘name’, and ‘renamable’
- subclone_cell_styleList[Dict]
The style of the cells. This is used to set the min width of the columns
- invalid_name_textstr
Text shown when an error needs to be reported
- subclone_data_styleList
The style of the subclone data. This highlights the rows in the subclone table
- violin_option_styleDict
The style that sets whether the violin plot is to be displayed or not
< Class VariantSubcloneTable