# grnm
This project aims to analyze gene regulatory networks (GRNs) by integrating archR processed gene score data and single-cell RNA sequencing (scRNA) data. The workflow consists of the following steps:
## Step 1: Preprocessing and Data Integration
After preprocessing and collecting the necessary files, the gene score data obtained from archR processing is combined with scRNA data. The combined data is then subjected to Principal Component Analysis (PCA) for dimensionality reduction. The number of genes is denoted as M, and the PCA dimensions are denoted as d. This results in an M * d1 matrix.
## Step 2: Deep Learning-based Dimensionality Reduction
The M * d1 matrix obtained from Step 1 is further processed using a deep learning model for dimensionality reduction. The resulting matrix has dimensions M * d2 in the latent space. Subsequently, Uniform Manifold Approximation and Projection (UMAP) algorithm is applied for additional dimensionality reduction, resulting in an M * 2 matrix. These coordinates serve as the basis for plotting each gene.
## Step 3: Clustering Using Louvain Algorithm
The TF-target regulatory relationships extracted from the Pando processed files are used to construct an adjacency matrix. The Louvain algorithm is then applied to perform clustering on the genes. This step allows for the identification of different modules to which each gene belongs.
## Step 4: Visualization
A series of functions are provided to generate various plots, encapsulating different attributes of the formed GRN. These functions facilitate easy visualization of the network's properties.
By following these steps and utilizing the provided functions, users can gain insights into the characteristics and dynamics of the gene regulatory networks under study.
## Pre-requisites
Before you begin, ensure you have met the following requirements:
- **Operating System**: Windows 10, Ubuntu 20.04, macOS Mojave or later.
- **Dependencies**: Ensure you have `pip` installed on your system.
## Installation Recommendations
To ensure a smooth installation and operation of our software, please follow these recommendations:
### Environment Setup
- **Python Version**: It is recommended to use Python 3.9 for optimal compatibility with our software. If you do not have Python 3.9 installed, you can download it from the [official Python website](https://www.python.org/downloads/).
### Network Stability
- **Internet Connection**: Make sure you have a stable internet connection before starting the installation process. This is crucial for downloading necessary packages and dependencies without interruption.
### Pre-installing Dependencies
- **Deep Graph Library (DGL)**: Our software relies on the Deep Graph Library (DGL) for efficient graph operations. To minimize installation issues, we recommend installing DGL before proceeding with the installation of our software.
You can install DGL by running the following command:
```bash
pip install dgl
```
- **grnm**:You can install drnm by running the following command:
```bash
pip install grnm
```
## example
- [example Notebook](notebooks/example.ipynb)
Raw data
{
"_id": null,
"home_page": null,
"name": "grnm",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "gene regulatory networks, bioinformatics, graph models, network analysis",
"author": "heay",
"author_email": "hyjd21@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a7/60/587c72625e0cab247dfe5d0b2781a1a8c83b49d3af14ca629f56d9cb7cdc/grnm-0.6.tar.gz",
"platform": null,
"description": "# grnm\r\n\r\nThis project aims to analyze gene regulatory networks (GRNs) by integrating archR processed gene score data and single-cell RNA sequencing (scRNA) data. The workflow consists of the following steps:\r\n\r\n## Step 1: Preprocessing and Data Integration\r\n\r\nAfter preprocessing and collecting the necessary files, the gene score data obtained from archR processing is combined with scRNA data. The combined data is then subjected to Principal Component Analysis (PCA) for dimensionality reduction. The number of genes is denoted as M, and the PCA dimensions are denoted as d. This results in an M * d1 matrix.\r\n\r\n## Step 2: Deep Learning-based Dimensionality Reduction\r\n\r\nThe M * d1 matrix obtained from Step 1 is further processed using a deep learning model for dimensionality reduction. The resulting matrix has dimensions M * d2 in the latent space. Subsequently, Uniform Manifold Approximation and Projection (UMAP) algorithm is applied for additional dimensionality reduction, resulting in an M * 2 matrix. These coordinates serve as the basis for plotting each gene.\r\n\r\n## Step 3: Clustering Using Louvain Algorithm\r\n\r\nThe TF-target regulatory relationships extracted from the Pando processed files are used to construct an adjacency matrix. The Louvain algorithm is then applied to perform clustering on the genes. This step allows for the identification of different modules to which each gene belongs.\r\n\r\n## Step 4: Visualization\r\n\r\nA series of functions are provided to generate various plots, encapsulating different attributes of the formed GRN. These functions facilitate easy visualization of the network's properties.\r\n\r\nBy following these steps and utilizing the provided functions, users can gain insights into the characteristics and dynamics of the gene regulatory networks under study.\r\n\r\n## Pre-requisites\r\n\r\nBefore you begin, ensure you have met the following requirements:\r\n\r\n- **Operating System**: Windows 10, Ubuntu 20.04, macOS Mojave or later.\r\n- **Dependencies**: Ensure you have `pip` installed on your system.\r\n\r\n## Installation Recommendations\r\n\r\nTo ensure a smooth installation and operation of our software, please follow these recommendations:\r\n\r\n### Environment Setup\r\n\r\n- **Python Version**: It is recommended to use Python 3.9 for optimal compatibility with our software. If you do not have Python 3.9 installed, you can download it from the [official Python website](https://www.python.org/downloads/).\r\n\r\n### Network Stability\r\n\r\n- **Internet Connection**: Make sure you have a stable internet connection before starting the installation process. This is crucial for downloading necessary packages and dependencies without interruption.\r\n\r\n### Pre-installing Dependencies\r\n\r\n- **Deep Graph Library (DGL)**: Our software relies on the Deep Graph Library (DGL) for efficient graph operations. To minimize installation issues, we recommend installing DGL before proceeding with the installation of our software.\r\n\r\n You can install DGL by running the following command:\r\n\r\n ```bash\r\n pip install dgl\r\n ```\r\n- **grnm**:You can install drnm by running the following command:\r\n ```bash\r\n pip install grnm\r\n ```\r\n ## example\r\n- [example Notebook](notebooks/example.ipynb)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A comprehensive tool for gene regulatory network modeling.",
"version": "0.6",
"project_urls": null,
"split_keywords": [
"gene regulatory networks",
" bioinformatics",
" graph models",
" network analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91691c5b6fbe76142ff4d28c877e197a283ba81d1a05c498fbf8984d77f48afc",
"md5": "530405c03ad359d5c3253956515a536d",
"sha256": "816125fa5346ce1bda4edafe9543b5feee7b39e905dfdf20242a7cf250e4645e"
},
"downloads": -1,
"filename": "grnm-0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "530405c03ad359d5c3253956515a536d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 20207,
"upload_time": "2024-04-15T01:23:05",
"upload_time_iso_8601": "2024-04-15T01:23:05.581603Z",
"url": "https://files.pythonhosted.org/packages/91/69/1c5b6fbe76142ff4d28c877e197a283ba81d1a05c498fbf8984d77f48afc/grnm-0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a760587c72625e0cab247dfe5d0b2781a1a8c83b49d3af14ca629f56d9cb7cdc",
"md5": "8576a836af9c6bd54d8c30046bfddf2c",
"sha256": "9db54fb63ba10f83db496365aa017cc25bae336a74ea951e7ba19d628be7e9ff"
},
"downloads": -1,
"filename": "grnm-0.6.tar.gz",
"has_sig": false,
"md5_digest": "8576a836af9c6bd54d8c30046bfddf2c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 35805420,
"upload_time": "2024-04-15T01:23:22",
"upload_time_iso_8601": "2024-04-15T01:23:22.089622Z",
"url": "https://files.pythonhosted.org/packages/a7/60/587c72625e0cab247dfe5d0b2781a1a8c83b49d3af14ca629f56d9cb7cdc/grnm-0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-15 01:23:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "grnm"
}