methylseg.utils.resolve_state_color_lookup
- methylseg.utils.resolve_state_color_lookup(*, state_colors=None)[source]
Merge biological-state color overrides with the package defaults.
- Parameters:
state_colors (dict | None) – Optional mapping of state labels to colors. Keys are normalized with
normalize_state_labeland values are converted to hex.- Returns:
Hex color lookup keyed by canonical biological state name.
- Return type:
dict of str to str