scmorph - Single-cell morphological analysis
scmorph is a Python library to process CellPainting or any morphological data. It unlocks single-cell data to model heterogenity.
scmorph differs from the popular PyCytominer package in the following ways:
- Single-cell: Enables efficient analysis of single-cell data
- Batch-correction: Natively integrates a batch correction technique widely used for scRNA-seq.
- Enhanced feature selection: Removes non-linearly correlated features using an adapted Chatterjee correlation coefficient, which results in fewer, more meaningful features.
- Enhanced aggregation: Offers statistically robust aggregation methods to derive meaningful distances to a control sample.
It provides tools to make single-cell data analysis easier and more reproducible. For example, it can be used to:
- Load in data from csv files, e.g. generated by CellProfiler.
- Remove batch effects to compare conditions across batches.
- QC both cells and images.
- Remove redundant features based on correlation.
- Reduce dimensionality to gain quick intuition about the data's spread.
- Perform statistically robust aggregate analysis to quickly identify hits.
Installation
Install scmorph via pip or conda:
pip install scmorph
# or:
conda install -c conda-forge scmorph
Usage
For documentation on the usage of scmorph, please see https://scmorph.readthedocs.io/en/latest/
Metadata
Release files for scmorph 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scmorph-0.4.0.tar.gz | 3.5 MB | With provenance | Details for scmorph-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scmorph-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for scmorph-0.4.0-py3-none-any.whl |
Total release size: 3.5 MB
Release files / scmorph-0.4.0.tar.gz
| Download URL | scmorph-0.4.0.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f53f0a2c9d19c3c79e12b4cdfdfcc2a01e684ff3e2d5c9812036a6f32f25d82
|
|
BLAKE2b-256 checksum How to use checksums |
94377c3738f085be7879181f18ad80aa96a222747a138bcddefb79d0a2fb21e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2025.
Transparency logRelease files / scmorph-0.4.0-py3-none-any.whl
| Download URL | scmorph-0.4.0-py3-none-any.whl |
|---|---|
| Size | 43.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d1b22416eaa5a42fec2ff5cb6337b0e271c4c903c22ebe49ce8e8c84d15fe76
|
|
BLAKE2b-256 checksum How to use checksums |
78ed8bee0486776c17f5982e78a69cdeaf4be718f71c43181770b77d751692d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2025.
Transparency logSecurity for scmorph 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for scmorph-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.