CellScope.gev.plot_clustered_heatmap ==================================== CellScope.gev. ``plot_clustered_heatmap`` (**fea** : :class:`np.ndarray`, **marker_gene_indices** : :class:`list`, **marker_gene_name** : :class:`list`, **cell_type** : :class:`np.ndarray`, **save_fig** : :class:`bool` = False, **save_path** : :class:`str` = None) The ``plot_clustered_heatmap`` function generates a clustered heatmap that visualizes gene expression patterns across different cell types. It organizes cells based on their labels and marker gene expression, offering insights into gene expression clusters. The function also includes an option to save the heatmap as a file. .. rubric:: Parameters - **fea** (:class:`np.ndarray` | :class:`csr_matrix`): Feature matrix for gene expression. - **marker_gene_indices** (:class:`list`): List of indices for marker genes. - **marker_gene_name** (:class:`list`): List of marker gene names. - **cell_type** (:class:`np.ndarray`): Array of cell type labels. - **save_fig** (:class:`bool`, optional, default=False): If set to True, saves the figure to the specified path. - **save_path** (:class:`str`, optional): File path to save the figure. Required if `save_fig=True`. .. rubric:: Return - This function does not return any values. It displays a clustered heatmap of gene expression.