pyVIA.plotting_via.plot_gene_trend_heatmaps
- pyVIA.plotting_via.plot_gene_trend_heatmaps(via_object, df_gene_exp, marker_lineages=[], fontsize=8, cmap='viridis', normalize=True, ytick_labelrotation=0, fig_width=7)[source]
Plot the gene trends on heatmap: a heatmap is generated for each lineage (identified by terminal cluster number). Default selects all lineages
- Parameters:
via_object –
df_gene_exp (
DataFrame
) – pandas DataFrame single-cell level expression [cells x genes]marker_lineages (
list
) – list default = None and plots all detected all lineages. Optionally provide a list of integers corresponding to the cluster number of terminal cell fatesfontsize (
int
) – int default = 8cmap (
str
) – str default = ‘viridis’normalize (
bool
) – bool = Trueytick_labelrotation (
int
) – int default = 0
- Returns:
fig and list of axes