Skip to main content

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.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.
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

nico_gruenlab-1.3.0.tar.gz (84.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nico_gruenlab-1.3.0-py3-none-any.whl (85.3 kB view details)

Uploaded Python 3

File details

Details for the file nico_gruenlab-1.3.0.tar.gz.

File metadata

  • Download URL: nico_gruenlab-1.3.0.tar.gz
  • Upload date:
  • Size: 84.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nico_gruenlab-1.3.0.tar.gz
Algorithm Hash digest
SHA256 c216c310cc30f90d4ecf81ddba7a3fe81c3274930cf26ad26a9be3803de5a422
MD5 b74fe489e91a502c3256950a5940c2e6
BLAKE2b-256 7e01f877f9369d1872b3b669566eb3d1dc6ce733a047a0880ac62119579c99de

See more details on using hashes here.

File details

Details for the file nico_gruenlab-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: nico_gruenlab-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 85.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nico_gruenlab-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7d74673a7f855aed92cb9a22864539cc7d4e878230893bce2094254467b33b1
MD5 a59308a20011ec3f5af17c654bbc694d
BLAKE2b-256 e9250207ccc14d1530609db583d0940c7e171532cf2e5b7e16068807b5c2e4b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page