Skip to main content

single-cell loop analysis

Project description

scloop - single-cell loop analysis

Test Import Test Build

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.13.tar.gz (694.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.13-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ x86-64

scloop-0.1.13-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.13.tar.gz.

File metadata

  • Download URL: scloop-0.1.13.tar.gz
  • Upload date:
  • Size: 694.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.13.tar.gz
Algorithm Hash digest
SHA256 b237f8942045fcf2458526b328b9b818829d5635020529bc1f81472777869859
MD5 25ed139d4e5c8459eec507cd653c1f12
BLAKE2b-256 1ef16a80fb8c06a08cb443a059c9b11c85f192870d5785fa86435dd1b096c518

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: scloop-0.1.13-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.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f118d059e92d5da76eed38e9c28f36d0a5e7feee0dddff57838f9afd4e3d3e6e
MD5 1beb2fdead345a1ed9d8c649e555c882
BLAKE2b-256 1b449afa20ca9df61471056b1334c1b68f556504f9c72eff9c45efda2f15134d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.13-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84fdf669d5e89c1efc0837af07fc1ea073bdf71343fb5dd028a9eb1d3c826bff
MD5 e2384a775e669dc5cadc57ee93d9fcc4
BLAKE2b-256 132a28c3818452e0880c706643459b5782a9f261393ce027c85192919329700a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.13-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 6980a58577b255cefba6c5782f6300a3c2d7d4169cca893f4c57f4586332b4aa
MD5 c22dce176c9891accf87a0ee05440d75
BLAKE2b-256 5ece9d9c93283f4014468700b12e6996d7bdee8a6dc4758dbe9a009e1eb46faf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scloop-0.1.13-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 34e6a3fa2055321629370af2e404d6d5a5869457ac9308a829f0410722adf9b6
MD5 e2a492cfec1ec27d3a92bcc43245e2a0
BLAKE2b-256 ee39399dd65c35b5e279960947452c7edf8928a01991155442bae2fe14273629

See more details on using hashes here.

Provenance

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