Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

genedataset

genedataset is a package to store and access gene expression datasets and gene definitions. It consists of two main classes, geneset and dataset.

geneset

geneset stores gene information combined from both Ensembl and NCBI/Entrez (mouse and human only), so that you can query it:

$ gs = geneset.Geneset().subset(queryStrings='ccr3')
$ print gs.geneIds()
 ['ENSG00000183625', 'ENSMUSG00000035448']
$ gs.dataframe()
 | EnsemblId          | Species     | EntrezId | GeneSymbol | Synonyms                     | Description                      | MedianTranscriptLength | Orthologue              |
 |--------------------|-------------|----------|------------|------------------------------|----------------------------------|------------------------|-------------------------|
 | ENSG00000183625    | HomoSapiens | 1232     | CCR3       | CC-CKR-3|CD193|CKR3|CMKBR3   | chemokine (C-C motif),receptor 3 | 1242.5                 | ENSMUSG00000035448:Ccr3 |
 | ENSMUSG00000035448 | MusMusculus | 12771    | Ccr3       | CC-CKR3|CKR3|Cmkbr1l2|Cmkbr3 | chemokine (C-C motif),receptor 3 | 3273                   | ENSG00000183625:CCR3    |

dataset

dataset can store gene expression data so that it can be queried. The stored data consists of expression values (microarray and rna-seq) and sample data packaged into HDF5 format.

$ ds = dataset.Dataset("genedataset/data/testdataset.h5")
$ ds
 <Dataset name:testdata species:MusMusculus, platform_type:microarray>
$ ds.expressionMatrix()
 | probeId | s01  | s02  | s03  | s04  |
 |---------|------|------|------|------|
 | probe1  | 3.45 | 4.65 | 2.65 | 8.23 |
 | probe2  | 5.54 | 0.00 | 1.43 | 6.43 |
 | probe3  | 0.00 | 0.00 | 4.34 | 5.44 |
$ ds.sampleTable()
 | sampleId | celltype | tissue |
 |----------|----------|--------|
 | s01      | B1       | BM     |
 | s02      | B1       | BM     |
 | s03      | B2       | BM     |
 | s04      | B2       | BM     |

Contact

Jarny Choi, Walter + Eliza Hall Institute

Changes

  • v0.1.x - Initial release with minor adjustments to test pypi and github upload/download.

License

MIT License

Metadata

Release files for genedataset 1.0.0a1

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

Source distribution (sdist)

Source distribution for genedataset 1.0.0a1
File Size Uploaded Provenance Actions
genedataset-1.0.0a1.tar.gz 4.1 MB Without provenance Details for genedataset-1.0.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for genedataset 1.0.0a1
File Interpreter ABI Platform Actions
genedataset-1.0.0a1-py2.py3-none-any.whl Python 2, Python 3 none any Details for genedataset-1.0.0a1-py2.py3-none-any.whl

Total release size: 8.4 MB

Release files / genedataset-1.0.0a1.tar.gz

Download URL genedataset-1.0.0a1.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
db95a8fb2e48c21d751110d1fa9916a2fbd6a8dd2de4e80d55c4a4ffb494cdb5
BLAKE2b-256 checksum
How to use checksums
753979f1e34f65b5c7599087ed4de21b03b97aeaabd3ba12c710bc98a61ff0d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / genedataset-1.0.0a1-py2.py3-none-any.whl

Download URL genedataset-1.0.0a1-py2.py3-none-any.whl
Size 4.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
822ec6973340422fce0e1da0e102b9bea86d598be0a02d37b8fb94b5d5328b96
BLAKE2b-256 checksum
How to use checksums
6e23cb5b5fb5898fa9391f6ebc99f410878554521049af9ae1298988fe04c0fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for genedataset 1.0.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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