troutpy.pl.sorted_heatmap#
- troutpy.pl.sorted_heatmap(celltype_by_feature, output_path='', filename='Heatmap_target_cells_by_gene', format='pdf', cmap='viridis', vmax=None, save=False, figsize=(10, 10))#
Plots the heatmap of target cells by gene.
- Parameters:
celltype_by_feature (pandas.DataFrame) – DataFrame showing the fraction of each feature by cell type.
outpath_dummy (str) – Path to save the output plots.