merquaco.figures.transcripts_overview
- merquaco.figures.transcripts_overview(transcripts: DataFrame, subsample: int = 1000, rotation_degrees: int = -90, ax: Axes = None, out_file: str | Path = '', ms: float = 1, alpha: float = 0.5, color: str = 'black', title: str = '')
Plots transcripts overview, subsampling 0.1% by default.
- Parameters:
transcripts (pd.DataFrame) – Transcripts table
subsample (int, optional) – Denominator for subsampling transcripts. Default is 1000.
rotation_degrees (int, optional) – Degrees to rotate section image by. Default is -90 to match Vizualizer orientation.
ax (plt.Axes, optional) – Axes on which to plot image. Default is None.
out_file (str or Path, optional) – Path at which to save the image. Default is ‘’.
ms (float, optional) – Marker size for plotting. Default is 1.
alpha (float, optional) – Alpha parameter. Default is 0.5.
color (str, optional) – Color for plotting transcripts. Default is ‘black’.
title (str, optional) – Title for plot. Default is ‘’.
- Return type:
None