Skip to content

Update/peptide intensities - #37

Merged
idf-io merged 5 commits into
mainfrom
update/peptide_intensities
Sep 7, 2026
Merged

idf-io merged 5 commits into
mainfrom
update/peptide_intensities

Conversation

@leventetn

Copy link
Copy Markdown
Collaborator

updated: proteoform_intensities, peptide_intensities with facet_by parameter
Implemented in intensities.py
Key results:

  • Added sample-level row/column faceting.
  • Preserved facet_by=None behavior.
  • Kept colors and y-axis consistent across facets.
  • Forwarded facet_by through proteoform_intensities.
  • Added explicit validation and ax=True incompatibility.

updated: AGENTS.md
sparsed matrix handling, layer and ax parameter conventions

updated: peptide_intensities ax parameter
Updated intensities.py
New contract:
ax: Axes | None = None
) -> Axes | list[Axes]
Behavior:

  • Supplied ax is used exactly and returned by identity.
  • ax=None creates and returns new axes.
  • Faceted plots return their subplot axes as a list.
  • facet_by and supplied ax raise ValueError.
  • Multiple protein_ids with one supplied ax raise ValueError.
  • Showing or saving does not change the return value.

…rameter

Implemented in intensities.py
Key results:
- Added sample-level row/column faceting.
- Preserved facet_by=None behavior.
- Kept colors and y-axis consistent across facets.
- Forwarded facet_by through proteoform_intensities.
- Added explicit validation and ax=True incompatibility.
sparsed matrix handling, layer and ax parameter conventions
Updated intensities.py
New contract:
ax: Axes | None = None
) -> Axes | list[Axes]
Behavior:
- Supplied ax is used exactly and returned by identity.
- ax=None creates and returns new axes.
- Faceted plots return their subplot axes as a list.
- facet_by and supplied ax raise ValueError.
- Multiple protein_ids with one supplied ax raise ValueError.
- Showing or saving does not change the return value.
@read-the-docs-community

read-the-docs-community Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

@idf-io
idf-io force-pushed the update/peptide_intensities branch from e544953 to c1a3c8b Compare September 6, 2026 23:40
@idf-io
idf-io merged commit 3661567 into main Sep 7, 2026
7 checks passed
@idf-io
idf-io deleted the update/peptide_intensities branch September 7, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants