Skip to content

Measured zero concentrations and isozyme coverage of the proteomics - #30

Merged
edkerk merged 1 commit into
developfrom
feat/measured-zeros-isozyme-coverage
Nov 3, 2026
Merged

edkerk merged 1 commit into
developfrom
feat/measured-zeros-isozyme-coverage

Conversation

@edkerk

@edkerk edkerk commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

loadProtData reads an abundance of 0 as not measured (NaN) before any filter, so a protein that draws from the protein pool is not capped at 0 by a placeholder zero. The option zerosAsMeasured keeps a 0 as a measured replicate: it enters the mean, is exempt from minVal and cutLowest, and a protein with only zeros is returned as 0, which constrainEnzConcs turns into a usage bound of 0. fillEnzConcs and constrainEnzConcs document the convention (NaN means no information, 0 means measured absent).

getIsozymeCoverage returns the reaction groups in ec.rxns (entries that share an identifier once _EXP_<n> is removed) that have a measured and an unmeasured entry, and the enzymes zeroUnmeasuredIsozymes can act on. zeroUnmeasuredIsozymes lowers the usage bound of those enzymes to 0 (method 'zero') or to a detection limit ('detectionLimit', default the smallest concentration above 0), after constrainEnzConcs. An enzyme that also catalyses a reaction without a measured sibling is left unchanged. ec.concs is not modified.

flexibilizeEnzConcs raises a usage bound as a factor of the concentration, so an enzyme with a concentration of 0 is never raised; it warns about these enzymes (flexibilizeEnzConcs:measuredZero), and the per-complex path records the count on the first subunit with a concentration above 0 and leaves enzymes at 0 out of flexEnz. relaxProteomicsGreedy sets a bound back to its default, including a bound of 0. levelComplexConcs keeps a subunit at 0 at 0.

Closes #6 and #7.

loadProtData reads an abundance of 0 as not measured unless zerosAsMeasured is set. getIsozymeCoverage reports the isozyme groups with a measured and an unmeasured entry, and zeroUnmeasuredIsozymes limits the usage of the unmeasured ones. flexibilizeEnzConcs warns about enzymes with a concentration of 0, which it cannot raise.
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Unit test results

73 tests   73 ✅  9s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit be3c32b.

@edkerk
edkerk merged commit 636e8bf into develop Nov 3, 2026
3 checks passed
@edkerk
edkerk deleted the feat/measured-zeros-isozyme-coverage branch November 3, 2026 16:39
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.

1 participant