The goal of NeuronChat is to infer, visualize and analyze neural-specific cell-cell communication from single cell transcriptomics or spatially resolved transcriptomics data.
You can install the development version of NeuronChat like so:
devtools::install_github("Wei-BioMath/NeuronChat")
The time required for installation depends on pre-installed dependencies and the typical time is within 10 mins. Dependencies of NeuronChat package can be automatically installed when installing NeuronChat pacakge (When encountering any issues, please see the Troubleshooting
section below).
library(NeuronChat)
# creat NeuronChat object
x <- createNeuronChat(normalized_count_mtx,DB='mouse',group.by = cell_group_vector) # use DB='human' for human data
# calculation of communication networks
x <- run_NeuronChat(x,M=100)
# aggregating networks over interaction pairs
net_aggregated_x <- net_aggregation(x@net,method = 'weight')
# visualization
netVisual_circle_neuron(net_aggregated_x)
A set of tutorials of NeuronChat are as follows:
- Inference, visualization and analysis of neural-specific communication network
- Analysis of spatial datasets & calculation of spatially constrained communication network
- Update the NeuronChat interaction database
These tutorials can also be found in the vignettes directory of the repo
NeuronChat requires a standard computer and enough memory is recommended to handle large single-cell transcriptomic datasets.
The package has been tested on the following systems:
macOS Big Sur, Version 11.5.1
Windows 10 Pro, version 1909
R >= 4.1.0
dplyr >= 1.0.9
data.table >= 1.14.2
CellChat >= 1.1.3
Seurat >= 4.1.0
SeuratObject >= 4.1.0
NMF >= 0.23.0
igraph >= 1.3.4
ggplot2 >= 3.3.6
ComplexHeatmap >= 2.8.0
circlize >= 0.4.14
ggalluvial >= 0.12.3
Here are some instructions in case users might encounter issues during installation:
- Install CellChat using
devtools::install_github("sqjin/CellChat")
. See also theInstallation of other dependencies
in the README of CellChat for any other issues (includingNMF
package installation). - Install ComplexHeatmap using
devtools::install_github("jokergoo/ComplexHeatmap")
. - Install circlize using
devtools::install_github("jokergoo/circlize")
. - Please see the instructions for installation of
Seurat
orSeuratObject
via the link Seurat or SeuratObject.