methylseg.utils.resolve_overlay_plot_args

methylseg.utils.resolve_overlay_plot_args(*, color_pmd_only=False, color_regions_df=None)[source]

Normalize convenience plotting options into overlay arguments.

Parameters:
  • color_pmd_only (bool) – If True, request highlight-style coloring for the supplied overlay regions.

  • color_regions_df (DataFrame | None) – Optional region table used for plot overlays.

Returns:

(overlay_regions_df, overlay_style) for downstream plotting helpers.

Return type:

tuple