# NiCo: Niche Covariation Analysis
Developed by Ankit Agrawal (c) Grün lab 2024
NiCo package designed to uncover covariation patterns between interacting cell types from image-based single-cell resolution spatial transcriptomics data. It enables comprehensive cell type annotations, niche interaction discoveries, and the analysis of covariation patterns between interacting cell types.
### Key Features <br>
* **Cell Type Annotation**: Perform accurate cell type annotations on single cell resolution spatial transcriptomics data. <br>
* **Niche Interaction**: Identify and analyze colocalized interactions between different cell types within their tissue niches. <br>
* **Covariation**: Discover covariates between colocalized cell types to understand the cross-talk of gene modules and the enrichment of pathways in the niche. <br>
Ready for use! <br>
Tutorials and documentation are available!
### Installation
Install the NiCo package using the conda environment. This ensures all dependencies are correctly managed and installed.
```shell
conda create -n nicoUser python=3.11
conda activate nicoUser
pip install nico-sc-sp
pip install jupyterlab
```
Sometimes, the ``pygraphviz`` package cannot be installed via pip, or during the cell type interaction part, it gives an error that "neato" is not found in path, so an alternative conda way of installation is recommended. Please follow the installation of ``pygraphviz`` [here](https://pygraphviz.github.io/documentation/stable/install.html)
```shell
conda create -y -n nicoUser python=3.11
conda activate nicoUser
conda install -c conda-forge pygraphviz
pip install nico-sc-sp
pip install jupyterlab
```
### Required packages built upon
By default, these packages should install automatically. However, if any version conflicts arise, you can manually install the specific versions using pip.
```shell
scanpy==1.9.6
seaborn==0.12.2
scipy==1.11.3
matplotlib==3.7.3
numpy==1.26.1
gseapy==1.1.4
xlsxwriter==3.1.9
numba==0.58.1
pydot==1.4.2
KDEpy==1.1.8
pygraphviz==1.11
networkx==3.2.1
scikit-learn==1.3.2
pandas==2.1.1
leidenalg
```
### Usage
Import the NiCo functions in your Python script or Jupyter Notebook as follows:
```
from nico import Annotations as sann
from nico import Interactions as sint
from nico import Covariations as scov
```
# Tutorials (Jupyter notebook)
Detailed tutorials are available to help you get started quickly. These tutorials will guide you through setting up and using NiCo for various applications. <br>
https://github.com/ankitbioinfo/nico_tutorial
# Documentations, tutorials (html) and API reference
Comprehensive documentation is available to guide you through the installation, usage, and features of NiCo. <br>
https://nico-sc-sp.readthedocs.io/en/latest/
# Reference
Ankit Agrawal, Stefan Thomann, Sukanya Basu, Dominic Grün. NiCo Identifies Extrinsic Drivers of Cell State Modulation by Niche Covariation Analysis. Submitted (under review), 2024
### Additional Resources:
Special thanks to the following utility packages used in the development of NiCo:
SCTransformPy <br>
https://github.com/atarashansky/SCTransformPy
pyliger <br>
https://github.com/welch-lab/pyliger
### Contact
For any questions or issues, please feel free to contact [ankitplusplus at gmail.com]. Your feedback and contributions are always welcome!
Raw data
{
"_id": null,
"home_page": null,
"name": "nico-sc-sp",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, tissue niche, niche, spatial transcriptomics, single-cell RNA sequencing, scRNAseq, scRNA-seq, MERFISH, seqFISH, STARmap, nico, niche covariation",
"author": "Ankit Agrawal",
"author_email": "<ankitplusplus@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/46/77/6f637496e844122f8de4f8b3dce36fe37cf3cdff7e291dde27f285e85f5b/nico-sc-sp-1.4.0.tar.gz",
"platform": null,
"description": "\n# NiCo: Niche Covariation Analysis \n\nDeveloped by Ankit Agrawal (c) Gr\u00fcn lab 2024\n\nNiCo package designed to uncover covariation patterns between interacting cell types from image-based single-cell resolution spatial transcriptomics data. It enables comprehensive cell type annotations, niche interaction discoveries, and the analysis of covariation patterns between interacting cell types.\n\n\n### Key Features <br> \n* **Cell Type Annotation**: Perform accurate cell type annotations on single cell resolution spatial transcriptomics data. <br> \n* **Niche Interaction**: Identify and analyze colocalized interactions between different cell types within their tissue niches. <br> \n* **Covariation**: Discover covariates between colocalized cell types to understand the cross-talk of gene modules and the enrichment of pathways in the niche. <br>\n\n\nReady for use! <br> \nTutorials and documentation are available!\n\n\n\n### Installation \nInstall the NiCo package using the conda environment. This ensures all dependencies are correctly managed and installed.\n\n```shell\nconda create -n nicoUser python=3.11\nconda activate nicoUser\npip install nico-sc-sp\npip install jupyterlab\n```\n\nSometimes, the ``pygraphviz`` package cannot be installed via pip, or during the cell type interaction part, it gives an error that \"neato\" is not found in path, so an alternative conda way of installation is recommended. Please follow the installation of ``pygraphviz`` [here](https://pygraphviz.github.io/documentation/stable/install.html)\n\n```shell\nconda create -y -n nicoUser python=3.11\nconda activate nicoUser\nconda install -c conda-forge pygraphviz\npip install nico-sc-sp\npip install jupyterlab\n```\n\n### Required packages built upon\nBy default, these packages should install automatically. However, if any version conflicts arise, you can manually install the specific versions using pip.\n\n```shell\nscanpy==1.9.6\nseaborn==0.12.2\nscipy==1.11.3\nmatplotlib==3.7.3\nnumpy==1.26.1\ngseapy==1.1.4\nxlsxwriter==3.1.9\nnumba==0.58.1\npydot==1.4.2\nKDEpy==1.1.8\npygraphviz==1.11\nnetworkx==3.2.1\nscikit-learn==1.3.2\npandas==2.1.1\nleidenalg\n```\n\n### Usage \n\nImport the NiCo functions in your Python script or Jupyter Notebook as follows:\n\n```\nfrom nico import Annotations as sann\nfrom nico import Interactions as sint\nfrom nico import Covariations as scov\n```\n\n\n\n# Tutorials (Jupyter notebook)\nDetailed tutorials are available to help you get started quickly. These tutorials will guide you through setting up and using NiCo for various applications. <br> \nhttps://github.com/ankitbioinfo/nico_tutorial \n\n# Documentations, tutorials (html) and API reference \nComprehensive documentation is available to guide you through the installation, usage, and features of NiCo. <br>\nhttps://nico-sc-sp.readthedocs.io/en/latest/\n\n# Reference \nAnkit Agrawal, Stefan Thomann, Sukanya Basu, Dominic Gr\u00fcn. NiCo Identifies Extrinsic Drivers of Cell State Modulation by Niche Covariation Analysis. Submitted (under review), 2024\n\n\n### Additional Resources:\nSpecial thanks to the following utility packages used in the development of NiCo:\n\nSCTransformPy <br>\nhttps://github.com/atarashansky/SCTransformPy\n\npyliger <br> \nhttps://github.com/welch-lab/pyliger\n\n### Contact\nFor any questions or issues, please feel free to contact [ankitplusplus at gmail.com]. Your feedback and contributions are always welcome!\n",
"bugtrack_url": null,
"license": null,
"summary": "This package finds covariation patterns between interacted niche cell types from single-cell resolution spatial transcriptomics data.",
"version": "1.4.0",
"project_urls": null,
"split_keywords": [
"python",
" tissue niche",
" niche",
" spatial transcriptomics",
" single-cell rna sequencing",
" scrnaseq",
" scrna-seq",
" merfish",
" seqfish",
" starmap",
" nico",
" niche covariation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e55d0c376fa655ba7f5a3b1bf76fda21f452ebcbe050e922d3806dc56e1c8314",
"md5": "be7af859b76702313e701dd0620cc7c3",
"sha256": "ea2684425db33229640c1f3a92fb72197e366026b162b563d0d969ba2cb0b759"
},
"downloads": -1,
"filename": "nico_sc_sp-1.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be7af859b76702313e701dd0620cc7c3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 88695,
"upload_time": "2024-11-25T19:39:40",
"upload_time_iso_8601": "2024-11-25T19:39:40.235271Z",
"url": "https://files.pythonhosted.org/packages/e5/5d/0c376fa655ba7f5a3b1bf76fda21f452ebcbe050e922d3806dc56e1c8314/nico_sc_sp-1.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "46776f637496e844122f8de4f8b3dce36fe37cf3cdff7e291dde27f285e85f5b",
"md5": "2d5778595d7820b55b5756d7006e445f",
"sha256": "aa538fcb9da41e9a037810dd65d547415571823ccaf6400b3ef4296c196f5b18"
},
"downloads": -1,
"filename": "nico-sc-sp-1.4.0.tar.gz",
"has_sig": false,
"md5_digest": "2d5778595d7820b55b5756d7006e445f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 87895,
"upload_time": "2024-11-25T19:39:42",
"upload_time_iso_8601": "2024-11-25T19:39:42.213300Z",
"url": "https://files.pythonhosted.org/packages/46/77/6f637496e844122f8de4f8b3dce36fe37cf3cdff7e291dde27f285e85f5b/nico-sc-sp-1.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-25 19:39:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nico-sc-sp"
}