This package finds covariation patterns between interacted niche cell types from single-cell resolution spatial transcriptomics data.
Project description
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
- Cell Type Annotation: Perform accurate cell type annotations on single cell resolution spatial transcriptomics data.
- Niche Interaction: Identify and analyze colocalized interactions between different cell types within their tissue niches.
- Covariation: Discover covariates between colocalized cell types to understand the cross-talk of gene modules and the enrichment of pathways in the niche.
Ready for use!
Tutorials and documentation are available!
Installation
Install the NiCo package using the conda environment. This ensures all dependencies are correctly managed and installed.
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
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.
scanpy==1.11.2
seaborn==0.13.2
scipy==1.11.3
matplotlib==3.10.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.
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.
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
https://github.com/atarashansky/SCTransformPy
pyliger
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!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nico_sc_sp-1.6.0.tar.gz.
File metadata
- Download URL: nico_sc_sp-1.6.0.tar.gz
- Upload date:
- Size: 93.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7945559218c077aff8459a098d4db4e93076c6a9f1c12f4449b03239662573e3
|
|
| MD5 |
49f1e06ef24e981b4ff1a3df537548ae
|
|
| BLAKE2b-256 |
5074260995d248ae86dbe59cba70b3a5a3a986802be021c531e67916cc3c36d6
|
File details
Details for the file nico_sc_sp-1.6.0-py3-none-any.whl.
File metadata
- Download URL: nico_sc_sp-1.6.0-py3-none-any.whl
- Upload date:
- Size: 94.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42f250f546dcb14364d2ba9442e575f5422b3450579081d01fd048a03dc90525
|
|
| MD5 |
2309366ed195839a0a17da8340974626
|
|
| BLAKE2b-256 |
8fe7a79e688b123a1069bbd874c45220a326dc62e582e3495ef264faf6be335f
|