Skip to main content

Project generated with PyScaffold PyPI-Server Unit tests

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.read_h5ad("tests/data/adata.h5ad")
## output
class: SingleCellExperiment
dimensions: (20, 30)
assays(3): ['array', 'sparse', 'X']
row_data columns(5): ['var_cat', 'cat_ordered', 'int64', 'float64', 'uint8']
row_names(0):
column_data columns(5): ['obs_cat', 'cat_ordered', 'int64', 'float64', 'uint8']
column_names(0):
main_experiment_name:
reduced_dims(0): []
alternative_experiments(0): []
row_pairs(0): []
column_pairs(0): []
metadata(2): O_recarray nested

OR construct one from scratch

from singlecellexperiment import SingleCellExperiment

tse = SingleCellExperiment(
    assays={"counts": counts}, row_data=df_gr, col_data=col_data,
    reduced_dims={"tsne": ..., "umap": ...}, alternative_experiments={"atac": ...}
)

Since SingleCellExperiment extends SummarizedExperiment, most methods especially slicing and accessors are applicable here. Checkout the documentation for more info.

Note

This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.

Metadata

Release files for singlecellexperiment 0.4.2

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

Source distribution (sdist)

Source distribution for singlecellexperiment 0.4.2
File Size Uploaded
SingleCellExperiment-0.4.2.tar.gz 1.1 MB Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / SingleCellExperiment-0.4.2.tar.gz

Download URL SingleCellExperiment-0.4.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
6d6430d1cfe2b1163badee5f493de8b33e4034976f90dc931e196b9a946e975d
BLAKE2b-256 checksum
How to use checksums
4c39bd72c6c27bca3716c5ea910cb314595030c5a0fb8d16efdc97b7789062f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / SingleCellExperiment-0.4.2-py3-none-any.whl

Download URL SingleCellExperiment-0.4.2-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f4fc1dc84cfb1db645d2b023855abc2e7addf4fc37191147f8c1e0c9e69ff71
BLAKE2b-256 checksum
How to use checksums
45f1726b6644a627375868f5aacde47143fb704c23056e9e96d4f9a189a8c2d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1

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