# 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.0.6
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/be/21/d4ebe6ff57267f964aa57978215e82906669fc9649e10cfec7c235bac525/nico-sc-sp-1.3.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.0.6\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.3.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": "155e6bd363748eee091a6ae1267317fbb1b83feaac460049a6af348e29ea13ce",
"md5": "2660a5faa93f38707f8587a82ca52650",
"sha256": "4caad59eb547e05d04dbe19f672db112a6edcb25a0322fc6467ae5ce2a5afccc"
},
"downloads": -1,
"filename": "nico_sc_sp-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2660a5faa93f38707f8587a82ca52650",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 85215,
"upload_time": "2024-09-09T18:41:21",
"upload_time_iso_8601": "2024-09-09T18:41:21.591474Z",
"url": "https://files.pythonhosted.org/packages/15/5e/6bd363748eee091a6ae1267317fbb1b83feaac460049a6af348e29ea13ce/nico_sc_sp-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "be21d4ebe6ff57267f964aa57978215e82906669fc9649e10cfec7c235bac525",
"md5": "03474d45b71f6f0e542474317d0201a8",
"sha256": "2817258971b3a313026f43f3eb6a417b6a507f7def058cbdc24c1831ebe991c9"
},
"downloads": -1,
"filename": "nico-sc-sp-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "03474d45b71f6f0e542474317d0201a8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 84404,
"upload_time": "2024-09-09T18:41:23",
"upload_time_iso_8601": "2024-09-09T18:41:23.594909Z",
"url": "https://files.pythonhosted.org/packages/be/21/d4ebe6ff57267f964aa57978215e82906669fc9649e10cfec7c235bac525/nico-sc-sp-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-09 18:41:23",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nico-sc-sp"
}