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
scl.pp.prepare_adata(adata, downsample=True, n_downsample=500)
scl.tl.find_loops(adata, ...)
scl.tl.analyze_loops(adata, ...)
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
│   ├── hodge.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
├── matching
│   ├── cross_dataset.py
│   ├── data_modules.py
│   ├── __init__.py
│   ├── mlp.py
│   └── nf.py
├── plotting
│   ├── _cross_match.py
│   ├── _hodge.py
│   ├── _homology.py
│   ├── __init__.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.15.tar.gz (703.6 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.15-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

scloop-0.1.15-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.0 MB view details)

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

scloop-0.1.15-cp312-cp312-macosx_14_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

scloop-0.1.15-cp312-cp312-macosx_14_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: scloop-0.1.15.tar.gz
  • Upload date:
  • Size: 703.6 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.15.tar.gz
Algorithm Hash digest
SHA256 482c54a4fe1f8543dd12de5b75c81a49c90e80e58bcfb6c6f5a6722b446aa1cb
MD5 f1568dec275b58b1b209ad8e786e7279
BLAKE2b-256 d068906de9680421914d09710c23ad1bfd788ba2877dab7d9f83cefc145eba59

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.15.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.15-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: scloop-0.1.15-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.1 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.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 68c22ff02ca3d921d8f83fce97f1d8d26d0cfc877fe3a392f2ac0dd00083da65
MD5 541d0bbf5150b5a2e363cf31a4fae62b
BLAKE2b-256 f429dbe0f8cd7a6d19b82e032822ec48030694de530ff9b5dc88c4845f07ac2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.15-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.15-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scloop-0.1.15-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b72dda34e26a9ff1d9e7b6bbf3ed3f263cafc26116e4b9e64f99c89f0a895d41
MD5 2c7b8d81067657666b09a286c9a2ad5a
BLAKE2b-256 0d4e82f63da75c1d28ec4be33dfa635a54a7f38d23a680da154dc43a12312037

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.15-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.15-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for scloop-0.1.15-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 54cec5bb9ce315ec4f99cc538da8f3b15eb4d0df570604f5bc909013b5607c50
MD5 ba29476c00e4408765b8ef17f50e951b
BLAKE2b-256 4ab93517abddbc3e83e1edb5d76c5d00f4efcb0b699c9b0f5702a34588c9dd67

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.15-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.15-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for scloop-0.1.15-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 26bbebe5a5a4e4de86925b1adb64458747763557750651faa358009f45a9e8e8
MD5 3965c1917c18451ba438cd8f1fa12dd2
BLAKE2b-256 52740efd839db6750c6f4eaebed03b304001e7e440c99938d517024ca1921773

See more details on using hashes here.

Provenance

The following attestation bundles were made for scloop-0.1.15-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