A Python implementation of singleCellHaystack.
Project description
singleCellHaystack
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 asuse.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file singleCellHaystack-0.0.5.tar.gz
.
File metadata
- Download URL: singleCellHaystack-0.0.5.tar.gz
- Upload date:
- Size: 190.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ba1fa7c6aaa087d4c18b00bc5765a17021c36c067465e3b52b316aa13ec653 |
|
MD5 | 7d5b502fd15e52b443fbd99f6e54afd7 |
|
BLAKE2b-256 | 3116962dd117bc205363778242c6d007848cce7773d123a1db26c70704b0d060 |
File details
Details for the file singleCellHaystack-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: singleCellHaystack-0.0.5-py3-none-any.whl
- Upload date:
- Size: 191.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecd2e4a6f461b566e90a8b616624cac01ece1cc6c8cb4e9bc42a00cc6d1f16ad |
|
MD5 | e56f3a7e951dfb11ed77c7b317ff271b |
|
BLAKE2b-256 | 449bb62b8f9292aa9640347d8fc58349f514b7d452b140d4c73c6efec0a773a6 |