Skip to main content

A package to access gene expression data for breast cancer

Project description

CCBCGE

The goal of this python package is to provide quick, easy access to breast cancer gene expression data from OSF for analysis.

You can view this python package on its PyPI Site

Installation

Since this is a python package, you must have python installed on your computer. This package calls for Python 3.8 or greater.

To install this package, run the following command in your terminal:

pip install ccbcge

Usage

There are four major functions that you can call.

  1. ChooseData()
    • This allows you see the list of data sets you can access and choose one to download.
    • It returns two data sets: the gene expression data, then the meta data for that data set.
  2. ShowDataSets()
    • This shows the list of data sets you can access.
  3. importData(dataSet)
    • This takes as input the name of the data set you want to access.
    • It returns the gene expression data of that name as a pandas data frame.
  4. importMeta(dataSet)
    • This takes as input the name of the data set you want to access.
    • It returns the meta data for that data set as a pandas data frame.

The idea behind these functions is that you can access the data frame easily by name if you already know which data set you want to access.

For those who do not know which data sets they want to access, however, they have the option of seeing the data sets and choosing from them the one they want to work with.

If you want to use all of the data, you could write a simple for loop as follows:

for dataSet in dataSets:
    geneData = importData(dataSet)
    metaData = importMeta(dataSet)

    # analyze the data here

Dependencies

This package requires use of the following packages:

  • request
  • pandas

If you do not have them installed already, they will be installed for you.

Development

Help for how to update this package is found in a Developers File

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for more information.

Acknowledgements

The idea for this project came from a similar package from the Payne Lab at Brigham Young University, called cptac. To find out more about that package, visit the CPTAC Github repository or the CPTAC PyPI package.

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

ccbcge-0.1.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ccbcge-0.1.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ccbcge-0.1.3.tar.gz.

File metadata

  • Download URL: ccbcge-0.1.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for ccbcge-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d802f9df59a29a000551fa824a50a3bef3fb887a5468195045be7d3daeff2e79
MD5 2b3833c823e4f11895e07b176ac65bf5
BLAKE2b-256 3afe9282097b913a6d3f8ac0764d09ed63942bf27deb03ecea04d2efe2626e1a

See more details on using hashes here.

File details

Details for the file ccbcge-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ccbcge-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for ccbcge-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 564d1541d53160eee4ed89e228254d381db3e5b8f568683c9f4560f6ff438935
MD5 34c980ed26f46b1fd832f555fc23a0de
BLAKE2b-256 ba6959fae01bf91b3c21e421e2043ae9a650e021e5399882000187a8cc27215e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page