Skip to main content

A Python implementation of singleCellHaystack.

Project description

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.

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

singleCellHaystack-0.0.5.tar.gz (190.8 kB view hashes)

Uploaded Source

Built Distribution

singleCellHaystack-0.0.5-py3-none-any.whl (191.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page