Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ and this project adheres to
- `proteoform_simulation_metrics()`: after running proteoform
inference on a simulated dataset, returns one record of metrics
plus the per-protein results table.
- `apply_peptide_batch_effects()`: simulates peptide-specific batch effects
(`flavor="subset_shift"`) by shifting `n_peptides` peptides per
protein by `log2fc` in selected (`batches` as list) or randomly
drawn (`batches` as int) batches of `batch_key`.

### Fixed

Expand Down
4 changes: 3 additions & 1 deletion docs/sphinx/source/api/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@
.. rubric:: Proteoform Group Simulation

Simulate proteoform groups to evaluate how well a proteoform inference
method recovers them in a dataset.
method recovers them in a dataset, optionally with simulated batch
effects to evaluate batch-aware inference.

.. autosummary::
:toctree: generated/
:nosignatures:

proteopy.utils.proteoform_group_simulator
proteopy.utils.proteoform_simulation_metrics
proteopy.utils.apply_peptide_batch_effects

.. rubric:: Plotting

Expand Down
1 change: 1 addition & 0 deletions proteopy/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
proteoform_group_simulator,
proteoform_simulation_metrics,
)
from .batch_effect_simulation import apply_peptide_batch_effects
Loading
Loading