Container class for single-cell experiments
Project description
SingleCellExperiment
Container class to represent single-cell experiments; follows Bioconductor's SingleCellExperiment.
Install
Package is published to PyPI
pip install singlecellexperiment
Usage
Readers are available to read AnnData, H5AD or 10x (MTX, H5) V3 formats as SingleCellExperiment
objects.
import singlecellexperiment
sce = singlecellexperiment.readH5AD("tests/data/adata.h5ad")
OR construct one from scratch
from singlecellexperiment import SingleCellExperiment
tse = SingleCellExperiment(
assays={"counts": counts}, rowData=df_gr, colData=colData,
reducedDims={"tsne": ..., "umap": ...}, altExps={"atac": ...}
)
SingleCellExperiment
extends SummarizedExperiment
, so most methods from there are applicable here. checkout the documentation.
Note
This project has been set up using PyScaffold 4.1.1. For details and usage information on PyScaffold see https://pyscaffold.org/.
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
Close
Hashes for SingleCellExperiment-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc519ac61b32fe74c04942d9f8b18ca0553caac77c5812da95ad820b1346975 |
|
MD5 | f141e558d4a4b619a3d921438e7e813e |
|
BLAKE2b-256 | 3ca9203a470e4b8aa9b75f3c2885bc501799818c14a2dd10dc91fe37050594c5 |
Close
Hashes for SingleCellExperiment-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6329ffd75af7c8c624661704b517bce54cc409374527c65ecc9df5cf2eb032a |
|
MD5 | 7d8bba9d27c797ca8bde1b821f405a2c |
|
BLAKE2b-256 | dbba9e1dc2767aa10eb42ccfd538a2f3f5a4e6fa6e50abda9df14e142606c1ce |