Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 3.76 KB

README.md

File metadata and controls

49 lines (33 loc) · 3.76 KB

NicheNet Protocol

This repository contains the R code found in https://arxiv.org/abs/2404.16358.

Installation

To install NicheNet and its dependencies, enter the following code in R:

if(!requireNamespace("devtools", quietly = TRUE)) {
  install.packages("devtools") 
}

devtools::install_github("saeyslab/nichenetr")

Installation typically takes a few minutes, depending on the number of dependencies that has already been installed on your PC. nichenetr was tested on both Windows and Linux (most recently tested R version: R 4.3.2).

For the most up-to-date changes on NicheNet, please refer to our main GitHub repository: https://github.com/saeyslab/nichenetr.

Content

Input files

File Mouse Human
Example seurat object Link* N/A
Ligand-receptor network Link* Link
Ligand-target matrix Link* Link
Weighted networks Link Link
Ligand-TF matrix Link Link
Signaling network Link Link
Gene regulatory network Link Link

* Required to run the NicheNet ligand activity analysis and target gene prediction
† Required to create certain visualizations (Steps 16, 30)
‡ Required for Box 1 code

Code files

  • procedure_code.*: code from the Procedure section provided in various file formats. The .html and .md files facilitate viewing on the web, while the .Rmd and .R files allow for easier modification. The code to reproduce Figure 3 is provided at the end of procedure_code.R.
  • box_code.R: code from Boxes 1-3
  • timing.R: code used to time the functions

References

Sang-aram, C., Browaeys, R., Seurinck, R., & Saeys, Y. (2024). Unraveling cell-cell communication with NicheNet by inferring active ligands from transcriptomics data. arXiv preprint arXiv:2404.16358. https://arxiv.org/abs/2404.16358.

Browaeys, R., Saelens, W., & Saeys, Y. (2020). NicheNet: modeling intercellular communication by linking ligands to target genes. Nature methods, 17(2), 159-162. https://doi.org/10.1038/s41592-019-0667-5.