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
│   ├── 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.16.tar.gz (714.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.16-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

scloop-0.1.16-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.16-cp312-cp312-macosx_14_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

scloop-0.1.16-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.16.tar.gz.

File metadata

  • Download URL: scloop-0.1.16.tar.gz
  • Upload date:
  • Size: 714.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.16.tar.gz
Algorithm Hash digest
SHA256 3e655a92ecf3bcd69fe130e5d192312758fac35c87da7120047d25c790c1dccb
MD5 cf53e13a85404330f96404376b0a913e
BLAKE2b-256 8983f387e406856e2d86aa317520e1a35a67b2b6ba8a76dcd33e35559b052c2e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: scloop-0.1.16-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.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 899cb86ea6267de803303f5040f1578ac2c4551d9493d0bbb9f1c5e9e15101b0
MD5 6b291d7a688de08ad46a49fc6076d3d1
BLAKE2b-256 9beb9aa36dba5f60d76f199e89fc67332e1b1d568c95fc0b65d5754a106f29d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.16-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7268e96a4680af9f2d8521c4b092b563b7d1ee2a1bb7fbe27220ba31e24c6855
MD5 7eed85e75428709021ee09b2a65e2580
BLAKE2b-256 0c5361825b1a5215c8d72063c9c480110c87e754e8c01defe4f70022499fdcba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.16-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 2554a339046ef3b43e52cddcda2773552e009eb67a82a5ff0758f7fbd791cbec
MD5 0494ffb7f5708679271ce1069375c6f9
BLAKE2b-256 051bbd06debd1fea53e568fade7962ff293d8cb82927474583faa47273df0dbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.16-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 02b049e67dbf6d1308084140e7bf836ca0969dd3aa8a102fa89f21ea8793d0bb
MD5 a29e4f0461e8d94f4d2089e83e9b443d
BLAKE2b-256 63cc8d1ae72c569ada317dcb70ed8d30e53ae5d65f633671db08d46549654bd3

See more details on using hashes here.

Provenance

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