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
│   ├── feature_selection.py
│   ├── gene_trend.py
│   └── __init__.py
├── benchmarking
│   └── __init__.py
├── computing
│   ├── hodge.py
│   ├── homology.py
│   └── __init__.py
├── data
│   ├── analysis_containers.py
│   ├── base_components.py
│   ├── constants.py
│   ├── containers.py
│   ├── __init__.py
│   ├── loop_reconstruction.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
│   ├── _hodge.py
│   ├── _homology.py
│   ├── __init__.py
│   ├── _match.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
    └── 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.14.tar.gz (695.8 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.14-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

scloop-0.1.14-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.14-cp312-cp312-macosx_14_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

scloop-0.1.14-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.14.tar.gz.

File metadata

  • Download URL: scloop-0.1.14.tar.gz
  • Upload date:
  • Size: 695.8 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.14.tar.gz
Algorithm Hash digest
SHA256 f676dee84517c7aa1006b6a9f7b9c45292b208476c2ad21a091cc6fd59873596
MD5 8dfe5d1151a8b8f1f3b401106bfd89b7
BLAKE2b-256 0e1280c902891eb80ac77df26705e24bf533142a873512fa6e327d718112810e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: scloop-0.1.14-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.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d18d995d204f2c4cceb6840a41a8a793ecd69453ed4fc9e5a75687e439a88561
MD5 206b17e53931d067764add81f85f317e
BLAKE2b-256 af5f149dad47dd0ee321a8d19e9bc2dc72d38e58789d521476386322098cda7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.14-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 281a705a31c980f5ad8d006ab7c0f3a0bfa4e97afde0895f03cc5437c8e6ef05
MD5 9e25af50eaccb55ecd2b009c60f94368
BLAKE2b-256 6f90968a7263eb7adc0cebb88734539c149f64859baadcfd5e34581e6f94c7ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.14-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 283e42fa91c26ab9d8ef3ec2f6e9cdd10b2dec3eab7f1b92933b33d35a930237
MD5 2d7eafd252b8dbe0d7e912793d52eb4f
BLAKE2b-256 27d1eac8b907fc44f7c4b04a39fb22e9b6a2d266cc17a1dbca66dd91a4a7d024

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.14-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4586f2e5f726e3f0dbda184a3ab37810d79b147bdc3c17a65626e79334df2a02
MD5 a61495c653dfb299d1af94c814777993
BLAKE2b-256 4506e779ae2331f133344c62a9c900c83ece3112d3cb5164819c040e4fb32969

See more details on using hashes here.

Provenance

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