merquaco.figures.plot_periodicity_hist

merquaco.figures.plot_periodicity_hist(transcripts: DataFrame, subsample: int = 100, scale: int | float = None, ax: Axes = None, fov_width: int | float = 202, fov_height: int | float = 202, alpha: int | float = 0.25, ms: int | float = 0.1, ts_color: str = 'black', hist_color: str = 'red', title: str = '', out_file: str | Path = '', dpi: int = 200)

Plot transcripts overview with histogram of counts along each axis.

Parameters:
  • transcripts (pd.DataFrame) – Transcripts table

  • n_transcripts (int, optional) – Number of transcripts to plot. Default is None.

  • subsample (int, optional) – Denominator for subsampling transcripts. Default is 100.

  • scale (int or float, optional) – Value to multiply histogram values by. Default is None.

  • ax (plt.Axes, optional) – Axes on which to plot. Default is None.

  • fov_width (int or float, optional) – FOV width in microns. Default is 202.

  • fov_height (int or float, optional) – FOV height in microns. Default is 202.

  • alpha (int or float, optional) – Alpha parameter for plotting. Default is 0.25.

  • ms (int or float, optional) – Marker size for plotting transcripts. Default is 0.1.

  • ts_color (str, optional) – Color for plotting transcripts. Default is ‘black’.

  • hist_color (str, optional) – Color for plotting histogram. Default is ‘red’.

  • out_file (str or Path, optional) – Path at which to save file. Default is ‘’.

  • dpi (int, optional) – DPI value. Default is 200.