Skip to main content

ACE-OF-Clust: Alignment, Comparison, and Evaluation of Omics Features in Clustering

Project description

ACE-OF-Clust (ace-of-clust)

ACE-OF-Clust (Alignment, Comparison, and Evalutaion of Omics Features in Clusting) is a small utility package built on top of clumppling to help run clustering-alignment workflows and compute downstream comparisons / summaries on single-cell omics clustering analyses.

  • PyPI name (install): ace-of-clust
  • Python import (module): ace_of_clust

Installation

pip install ace-of-clust

Optional (better label adjustment in some plots):

pip install "ace-of-clust[adjusttext]"

Quickstart

Run clumppling / compModels via wrappers

from pathlib import Path

from ace_of_clust.wrappers import (
    run_clumppling_via_main,
    prepare_comp_models_inputs,
    run_comp_models,
)

# Example: run clumppling on an existing results directory / config
res_dir = Path("output/clumppling_run")
run_clumppling_via_main(res_dir=res_dir)

# Example: prepare and run compModels (paths/args will depend on your pipeline)
input_dir = Path("output/comp_models_inputs")
prepare_comp_models_inputs(input_dir=input_dir)

run_comp_models(input_dir=input_dir, res_dir=Path("output/comp_models_results"))

Analysis helpers

import pandas as pd
from ace_of_clust.analysis import (
    compute_profile,
    extract_all_mode_pair_mappings,
    map_alt_to_ref,
    compute_overall_membership_difference,
)

# Example placeholders: replace with your real objects / inputs
# profile = compute_profile(...)
# mappings = extract_all_mode_pair_mappings(...)
# alt2ref = map_alt_to_ref(...)
# diff = compute_overall_membership_difference(...)

Plotting

from ace_of_clust.plot import (
    # add your main plotting entry points here
)

# Example:
# fig = plot_something(...)
# fig.savefig("figures/example.png", dpi=200, bbox_inches="tight")

Reproducing examples

This repo keeps example scripts/notebooks separate from the installable library code. To reproduce examples:

  1. Install the package (pip install ace-of-clust)
  2. Clone this repository (for examples/, scripts/, etc.)
  3. Run the example scripts while using the installed package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ace_of_clust-0.1.0.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ace_of_clust-0.1.0-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

Details for the file ace_of_clust-0.1.0.tar.gz.

File metadata

  • Download URL: ace_of_clust-0.1.0.tar.gz
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.14 Linux/5.14.0-284.11.1.el9_2_cifs.x86_64

File hashes

Hashes for ace_of_clust-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be28f8fc44a80554ac96c0009fe6dcb21e45257999c9b757033ebc11a46114df
MD5 079b5d7e6b2e61dc7f87e47778a6d689
BLAKE2b-256 9999f0186e64624bd11efe011cf66279ceeeb26005169ef98fe8397fe8d342df

See more details on using hashes here.

File details

Details for the file ace_of_clust-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ace_of_clust-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 75.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.14 Linux/5.14.0-284.11.1.el9_2_cifs.x86_64

File hashes

Hashes for ace_of_clust-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80d626515d02bb9e94c06ba0937389d22c1e221d281433da01c0794aa706593c
MD5 b84d48e17bcbbcfdcf06d06fd0ae5001
BLAKE2b-256 47ee9eeaa7f525cb4a653cfe51ebb39711ec4800d2f25c4d65fa69424251cfc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page