spapros.pl.correlation_matrix
- spapros.pl.correlation_matrix(set_ids, cor_matrices, show=True, save=False, size_factor=5, fontsize=28, n_cols=3, colorbar=True)
Plot heatmap of gene correlation matrix.
- Parameters:
set_ids (List[str]) – List of probe set ids.
cor_matrices (Dict[str, DataFrame]) – Ordered correlation matrix of each probe set given in
set_ids
.show (bool) – Show the figure.
save (Union[Literal[False], str]) – Save plot to path.
size_factor (float) – Factor for scaling the figure size.
fontsize (int) – Matplotlib fontsize.
colorbar (bool) – Whether to draw a colorbar.
n_cols (int) – Number of subplot columns.
- Return type:
None