Logo

Overview

  • Installation
  • Quickstart
  • Files and directories

Tutorials

  • Tutorials

API

  • API
XChrom
  • API
  • xchrom.pl.plot_logo
  • View page source

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.

Previous Next

© Copyright 2025, Yuanyuan Miao. Last updated on 2026-05-10.

Built with Sphinx using a theme provided by Read the Docs.