.utils

The proteopy.utils module provides utility functions for data validation and common operations.

Note

Only the functions listed below are part of the public API and officially supported. All other functions in proteopy.utils are internal helpers and may change without notice.

Data Validation

proteopy.utils.is_proteodata

Check whether the AnnData object stores peptide- or protein-level proteomics data.

proteopy.utils.check_proteodata

Validate that adata satisfies ProteoPy assumptions, raising on failure.

Array Utilities

proteopy.utils.is_log_transformed

Heuristic detector for log-transformed matrices.

Plotting

proteopy.utils.volcano_plot

Volcano plot renderer (framework-agnostic).