pylimma.coolmap

pylimma.coolmap(x, cluster_by='de pattern', col=None, linkage_row='complete', linkage_col='complete', show_dendrogram='both', ax=None, **kwargs)[source]

Clustered heatmap with log2-expression colour scheme.

Port of the numeric substrate of R limma’s coolmap. Hierarchical clustering and row z-scoring match R; layout is re-implemented in matplotlib (R’s coolmap delegates to gplots::heatmap.2, which is not ported). Returns the matplotlib Figure.

Parameters:
  • cluster_by (str)

  • linkage_row (str)

  • linkage_col (str)

  • show_dendrogram (str)