Skip to main content

singleCellHaystack

Lifecycle:beta PyPI PyPIDownloads

This repository contains a Python implementation of singleCellHaystack (version >= 1.0.0).

This package is currently in beta. The most important functionality in the R package works, but some features are not yet available. Here is a (probably imcomplete) list of missing features. Some will be added in the future.

  • weights.advanced.Q (formerly known as use.advanced.sampling).
  • seeding method for calculating grid points.
  • Hierarchical clustering method for cluster_genes.

Installation

You can install singleCellHaystack from pypi:

pip install singleCellHaystack

You can install singleCellHaystack from GitHub with:

pip install git+http://github.com/ddiez/singleCellHaystack-py

Support for conda installation will be added in the future.

Example

import scanpy as sc
import singleCellHaystack as hs

adata = sc.read_h5ad("data.h5ad")

[... process adata object ...]

res = hs.haystack(adata, coord="pca")
res.top_features(n=10)

References

  • Our manuscript describing the updated, more generally applicable version of singleCellHaystack including this Python implementation is available on bioRxiv.

  • Our manuscript describing the original implementation of singleCellHaystack for R (version 0.3.4) was published in Nature Communications.

If you use singleCellHaystack in your research please cite our work using:

Vandenbon A, Diez D (2020). “A clustering-independent method for finding differentially expressed genes in single-cell transcriptome data.” Nature Communications, 11(1), 4318. doi:10.1038/s41467-020-17900-3.

Release files for singleCellHaystack 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for singleCellHaystack 0.0.5
File Size Uploaded
singleCellHaystack-0.0.5.tar.gz 190.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for singleCellHaystack 0.0.5
File Interpreter ABI Platform
singleCellHaystack-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 382.1 kB

Release files / singleCellHaystack-0.0.5.tar.gz

Download URL singleCellHaystack-0.0.5.tar.gz
Size 190.8 kB
Tags Source
SHA-256 checksum
How to use checksums
71ba1fa7c6aaa087d4c18b00bc5765a17021c36c067465e3b52b316aa13ec653
BLAKE2b-256 checksum
How to use checksums
3116962dd117bc205363778242c6d007848cce7773d123a1db26c70704b0d060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / singleCellHaystack-0.0.5-py3-none-any.whl

Download URL singleCellHaystack-0.0.5-py3-none-any.whl
Size 191.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecd2e4a6f461b566e90a8b616624cac01ece1cc6c8cb4e9bc42a00cc6d1f16ad
BLAKE2b-256 checksum
How to use checksums
449bb62b8f9292aa9640347d8fc58349f514b7d452b140d4c73c6efec0a773a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page