Package for loading datasets from GREIN
Project description
grein_loader
Python package to automatically download datasets from GREIN
http://www.ilincs.org/apps/grein
Introduction
Grein Loader enables users to access data from the GREIN website by using the GSE identification number
Installation
Install the package from pypi by using:
pip install grein_loader
Usage
The package allows you to download the description, metadata and the raw counts of a GREIN dataset based on the GSE id. The datasets from GREIN are publicly available and can be accessed via the GREIN webpage. Each dataset uses an GEO accession id which allows you to access its data.
load_dataset()
geo_accession = "GSE112749"
description, metadata, count_matrix = grein_loader.load_dataset(geo_accession)
Input/Output parameters
Input parameter:
| gse_id | string | GEO accession id
Output parameter:
| description | dictionary | description of dataset
| metadata | dictionary | metadata of dataset
| count_matrix | pandas dataframe| numpy array of raw counts
load_overview()
loads a number of datasets from Grein, the datasets are also listed on the main paige of GREIN
number_of_datasets = 10
overview = loader.load_overview(number_of_datasets)
The function returns a list of dictionaries, each dictionary contains the GSE id, number of samples, species and description provided from GREIN.
Input parameter:
number_of_samples
Output parameter:
list of dictionaries with, "geo_accession", no_samples", "species","title", "study_summary"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grein_loader-0.0.6.tar.gz.
File metadata
- Download URL: grein_loader-0.0.6.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a360f90366e8eb3d9e92b62d61053fffd58432089f2e90e09560c939911b82c
|
|
| MD5 |
795b64d1a400acc6b9da48ad072daf5e
|
|
| BLAKE2b-256 |
91ed0e4c353d6de47c9bd825033a1cdb5c5772472a8965a206558f287de0a4c2
|
File details
Details for the file grein_loader-0.0.6-py3-none-any.whl.
File metadata
- Download URL: grein_loader-0.0.6-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bb3c10aee51315b032d6786456d3f106545e540fffb72dabcde71deb3c0ef2b
|
|
| MD5 |
d2feec9285fd3c98bf01ce0cc92228b7
|
|
| BLAKE2b-256 |
a21c4f20d501442cd86b040e52249aaa2716c617d476622d7f9184510067e4ff
|