Cytominer-eval: Evaluating quality of perturbation profiles
Cytominer-eval contains functions to calculate quality metrics for perturbation profiling experiments.
Installation
Cytominer-eval is still in beta, and can only be installed from GitHub:
pip install git+git://github.com/cytomining/cytominer-eval
Since the project is actively being developed, with new features added regularly, we recommend installation using a hash:
# Example:
pip install git+git://github.com/cytomining/cytominer-eval@5c9fb860d1b27e746ee498d625d033475caceb7e
Usage
Cytominer-eval uses a simple API for all evaluation metrics.
# Working example
import pandas as pd
from cytominer_eval import evaluate
# Load Data
commit = "6f9d350badd0a18b6c1a76171813aaf9a52f8d9f"
url = f"https://github.com/cytomining/cytominer-eval/raw/{commit}/cytominer_eval/example_data/compound/SQ00015054_normalized_feature_select.csv.gz"
df = pd.read_csv(url)
# Define important function arguments
meta_features = df.columns[df.columns.str.startswith("Metadata_")]
features = df.drop(meta_features, axis="columns").columns.tolist()
replicate_groups = ["Metadata_broad_sample", "Metadata_mg_per_ml"]
# Evaluate profile quality
evaluate(
profiles=df,
features=features,
meta_features=meta_features,
replicate_groups=replicate_groups,
replicate_reproducibility_return_median_cor=False,
operation="replicate_reproducibility",
)
Metrics
Currently, four metric operations are supported:
- Replicate reproducibility
- Precision/recall
- mp-value
- Grit
Metadata
Release files for cytominer-eval 0.1
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 |
|---|---|---|---|---|
| cytominer_eval-0.1.tar.gz | 22.1 kB | Without provenance | Details for cytominer_eval-0.1.tar.gz |
Release files / cytominer_eval-0.1.tar.gz
| Download URL | cytominer_eval-0.1.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d9d1080996c8cb4a7e819b55f4e386bc81c41f6a03380ee23db58e7db48c81b
|
|
BLAKE2b-256 checksum How to use checksums |
b4098d7cc7ec518a752448eb1f69de4f70f23ec75990cc45035778647bf3e96b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6
|
Security for cytominer-eval 0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.