Skip to main content

single-cell loop analysis

Project description

scloop - single-cell loop analysis

Test Import Test Build PyPI

Note: this package is in early stages of development.

scLoop is a library to identify statistically significant loops in single-cell RNA-seq data.

persistent homology

Basic Usage

import scloop as scl
# Preprocess anndata
scl.pp.prepare_adata(adata, downsample=True, n_downsample=500)
# Identify statistically significant loops
scl.tl.find_loops(adata, ...)
# Compute trajectories, gene trends, and important features of each loop
scl.tl.analyze_loops(adata, ...)
# Match loops across datasets
scl.tl.match_loops([adata1, adata2, ...], ...)

Build Instructions

make build

or

make rebuild

Virtual Envrionemnt

make sync

or

make full-sync

to prevent partial compilation of some modules

Installation

Note: this package is in early stages of development. The current build will have issues.

pip install scloop

Project Structure

src/scloop/
├── analyzing
│   ├── bootstrap.py
│   ├── feature_selection.py
│   ├── gene_trend.py
│   ├── hodge.py
│   ├── __init__.py
│   └── stats.py
├── benchmarking
│   └── __init__.py
├── computing
│   ├── boundary.py
│   ├── hodge_decomposition.py
│   ├── homology.py
│   ├── __init__.py
│   ├── loops.py
│   └── matching.py
├── data
│   ├── analysis_containers.py
│   ├── base_components.py
│   ├── boundary.py
│   ├── constants.py
│   ├── containers.py
│   ├── __init__.py
│   ├── metadata.py
│   ├── ripser.cpp
│   ├── ripser.hpp
│   ├── ripser_lib.cpp
│   ├── ripser_lib.pyx
│   ├── types.py
│   └── utils.py
├── __init__.py
├── io
│   └── __init__.py
├── matching
│   ├── cross_dataset.py
│   ├── data_modules.py
│   ├── __init__.py
│   ├── mlp.py
│   └── nf.py
├── plotting
│   ├── _cross_match.py
│   ├── custom_colormaps.py
│   ├── _hodge.py
│   ├── _homology.py
│   ├── __init__.py
│   ├── _trajectory.py
│   └── _utils.py
├── preprocessing
│   ├── delve
│   │   ├── delve.py
│   │   ├── __init__.py
│   │   └── kh.py
│   ├── downsample.py
│   ├── __init__.py
│   └── prepare.py
├── py.typed
├── tools
│   ├── _cross_match.py
│   ├── __init__.py
│   └── _loops.py
└── utils
    ├── distance_metrics
    │   ├── discrete-frechet-distance
    │   ├── frechet.cpp
    │   ├── frechet_py.py
    │   ├── frechet.pyx
    │   └── __init__.py
    ├── __init__.py
    ├── linear_algebra_gf2
    │   ├── gf2_toolkit_lib.pyx
    │   ├── __init__.py
    │   ├── m4ri_lib.c
    │   └── m4ri_lib.pyx
    ├── logging.py
    └── pvalues.py

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

scloop-0.1.20.tar.gz (891.1 kB view details)

Uploaded Source

Built Distributions

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

scloop-0.1.20-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86-64

scloop-0.1.20-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

scloop-0.1.20-cp312-cp312-macosx_14_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

scloop-0.1.20-cp312-cp312-macosx_14_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

File details

Details for the file scloop-0.1.20.tar.gz.

File metadata

  • Download URL: scloop-0.1.20.tar.gz
  • Upload date:
  • Size: 891.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scloop-0.1.20.tar.gz
Algorithm Hash digest
SHA256 02e610503f3405a3d8ead39c51cec3518e84ec9a82972e2e79264b77282888e0
MD5 35cf49e6f6650e7f999988871512a002
BLAKE2b-256 03785694458458412d436516b0c72203942568356a6db9581c71845e99c20c99

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.20.tar.gz:

Publisher: publish.yml on stanfish06/scloop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scloop-0.1.20-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: scloop-0.1.20-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scloop-0.1.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1ae8618b7b733d37bc175df3dbe01d93f26847beeed455a6e2ba84f78220e760
MD5 d4ef125db6b9bf9fb4f6b49eca5563ca
BLAKE2b-256 75f5fd800a8239ad3e81a88c4ccb41872b82bda3e00456e53e5f88842bd5f00c

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.20-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on stanfish06/scloop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scloop-0.1.20-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scloop-0.1.20-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 580016c7c08ae7fcaf9927f3cba1f89d20660518664282a7d805046eb1c3baa8
MD5 1d769728f1073e1566e6c128dc2abb6f
BLAKE2b-256 e876585b13fc8c5a38370d68ad5c115659d25b1fe2eb72def71a2346f39f6104

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.20-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on stanfish06/scloop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scloop-0.1.20-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for scloop-0.1.20-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 b0f888a1fcc7601e4e5ddc5113a1d772362d36f7b15ff7e1f7048747222e396b
MD5 0ea0483c0f58be0718d25ae9d133df91
BLAKE2b-256 9b7e15dcf5e33191a4d5bdf1e6ed3e866e68a7ca9a8f580bb4070aded10760bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.20-cp312-cp312-macosx_14_0_x86_64.whl:

Publisher: publish.yml on stanfish06/scloop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scloop-0.1.20-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for scloop-0.1.20-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0f850a9ce1a02bdc7576502feb0b1f1163e071663ce3cd6563f2f598267ca638
MD5 4055d767b898fa7abe89a9f47f82f106
BLAKE2b-256 9b3120632a49eabb0046e94ddb03d9cd1690fdc3e9163208adff8fa14df04fdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.20-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: publish.yml on stanfish06/scloop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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