plot_heatmap#

RAPDOR.plots.plot_heatmap(distances, design: pandas.DataFrame, colors=None)#

Plots a heatmap of the sample distances

Parameters:
  • distances (np.ndarray) – between sample distances of shape num samples x num samples

  • design (pd.Dataframe) – the design dataframe to distinguish the groups from the samples dimension

  • colors (Iterable[str]) – An iterable of color strings to use for plotting

Returns: go.Figure