# 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](https://pypi.org/project/ccbcge/)
## 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.
4. `ShowDataSets()`
- This shows the list of data sets you can access.
5. `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.
6. `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](dev.md)
## License
This project is licensed under the Apache 2.0 License - see the [LICENSE](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](https://github.com/PayneLab/cptac/)
or the [CPTAC PyPI package](https://pypi.org/project/cptac/).
Raw data
{
"_id": null,
"home_page": null,
"name": "ccbcge",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "gene expression, breast cancer, bioinformatics",
"author": "Bryce Tolman",
"author_email": "bat.2000@live.com",
"download_url": "https://files.pythonhosted.org/packages/3a/fe/9282097b913a6d3f8ac0764d09ed63942bf27deb03ecea04d2efe2626e1a/ccbcge-0.1.3.tar.gz",
"platform": null,
"description": "# CCBCGE\r\n\r\nThe goal of this python package is to provide quick, easy access to breast cancer gene expression data from OSF for analysis.\r\n\r\nYou can view this python package on its [PyPI Site](https://pypi.org/project/ccbcge/)\r\n\r\n## Installation\r\n\r\nSince this is a python package, you must have python installed on your computer. This package calls for Python 3.8 or greater.\r\n\r\nTo install this package, run the following command in your terminal:\r\n```\r\npip install ccbcge\r\n```\r\n\r\n## Usage\r\n\r\nThere are four major functions that you can call.\r\n1. `ChooseData()`\r\n - This allows you see the list of data sets you can access and choose one to download.\r\n - It returns two data sets: the gene expression data, then the meta data for that data set.\r\n4. `ShowDataSets()`\r\n - This shows the list of data sets you can access.\r\n5. `importData(dataSet)`\r\n - This takes as input the name of the data set you want to access.\r\n - It returns the gene expression data of that name as a `pandas` data frame.\r\n6. `importMeta(dataSet)`\r\n - This takes as input the name of the data set you want to access.\r\n - It returns the meta data for that data set as a `pandas` data frame.\r\n\r\nThe idea behind these functions is that you can access the data frame easily by name if you \r\nalready know which data set you want to access.\r\n\r\nFor those who do not know which data sets they want to access, however, they have the option\r\nof seeing the data sets and choosing from them the one they want to work with.\r\n\r\nIf you want to use all of the data, you could write a simple for loop as follows:\r\n```\r\nfor dataSet in dataSets:\r\n geneData = importData(dataSet)\r\n metaData = importMeta(dataSet)\r\n\r\n # analyze the data here\r\n```\r\n\r\n\r\n## Dependencies\r\n\r\nThis package requires use of the following packages:\r\n- `request`\r\n- `pandas`\r\n\r\nIf you do not have them installed already, they will be installed for you.\r\n\r\n## Development\r\n\r\nHelp for how to update this package is found in a [Developers File](dev.md)\r\n\r\n## License\r\n\r\nThis project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for more information.\r\n\r\n## Acknowledgements\r\n\r\nThe idea for this project came from a similar package from the Payne Lab at Brigham Young University, called `cptac`.\r\nTo find out more about that package, visit the [CPTAC Github repository](https://github.com/PayneLab/cptac/)\r\nor the [CPTAC PyPI package](https://pypi.org/project/cptac/).\r\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A package to access gene expression data for breast cancer",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/brycetolman54/ccbcge"
},
"split_keywords": [
"gene expression",
" breast cancer",
" bioinformatics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ba6959fae01bf91b3c21e421e2043ae9a650e021e5399882000187a8cc27215e",
"md5": "34c980ed26f46b1fd832f555fc23a0de",
"sha256": "564d1541d53160eee4ed89e228254d381db3e5b8f568683c9f4560f6ff438935"
},
"downloads": -1,
"filename": "ccbcge-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "34c980ed26f46b1fd832f555fc23a0de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7993,
"upload_time": "2024-09-20T15:21:40",
"upload_time_iso_8601": "2024-09-20T15:21:40.161948Z",
"url": "https://files.pythonhosted.org/packages/ba/69/59fae01bf91b3c21e421e2043ae9a650e021e5399882000187a8cc27215e/ccbcge-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3afe9282097b913a6d3f8ac0764d09ed63942bf27deb03ecea04d2efe2626e1a",
"md5": "2b3833c823e4f11895e07b176ac65bf5",
"sha256": "d802f9df59a29a000551fa824a50a3bef3fb887a5468195045be7d3daeff2e79"
},
"downloads": -1,
"filename": "ccbcge-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "2b3833c823e4f11895e07b176ac65bf5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7864,
"upload_time": "2024-09-20T15:21:41",
"upload_time_iso_8601": "2024-09-20T15:21:41.402155Z",
"url": "https://files.pythonhosted.org/packages/3a/fe/9282097b913a6d3f8ac0764d09ed63942bf27deb03ecea04d2efe2626e1a/ccbcge-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-20 15:21:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "brycetolman54",
"github_project": "ccbcge",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ccbcge"
}