xchrom.pl.plot_logo
- xchrom.pl.plot_logo(m: ndarray, ymin: float, ymax: float, ax: Axes, title: str | None = None)[source]
Plot the relative importance of the given matrix per position.
- Parameters:
m (np.ndarray) – The matrix to plot the logo, shape (n_cells, seq_len, 4).
ymin (float) – The minimum value of the y-axis.
ymax (float) – The maximum value of the y-axis.
ax (plt.Axes) – The axes to plot the logo.
title (str) – The title of the plot.