Compocyte.core.toolsΒΆ
Utility functions for Compocyte.
This module implements helper functions used across the package such as data transformations, dictionary helpers and small utilities that keep the core code focused on algorithmic logic.
- class Compocyte.core.tools.Hierarchical_Metric(true_labels, predicted_labels, hierarchy_structure, root_node='Blood')[source]ΒΆ
Bases:
object
- Compocyte.core.tools.delete_dict_entries(dictionary, del_key='classifier', first_run=True, deleted_key=False)[source]ΒΆ
- Compocyte.core.tools.get_last_annotation(obs_names, adata, barcodes=None, true_only=False)[source]ΒΆ