You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# For newer Seurat versions, you may need to run the following
66
+
seuratObj <- UpdateSeuratObject(seuratObj)
62
67
```
63
68
64
69
Visualize which cell populations are present: CD4 T cells (including regulatory T cells), CD8 T cells, B cells, NK cells, dendritic cells (DCs) and inflammatory monocytes
@@ -139,7 +144,7 @@ Here, the gene set of interest are the genes differentially expressed in CD8 T c
order_ligands_adapted[order_ligands_adapted == "H2.M3"] = "H2-M3" # cf required use of make.names for heatmap visualization | this is not necessary if these ligands are not in the list of prioritized ligands!
303
-
order_ligands_adapted[order_ligands_adapted == "H2.T23"] = "H2-T23" # cf required use of make.names for heatmap visualization | this is not necessary if these ligands are not in the list of prioritized ligands!
rotated_dotplot = DotPlot(seuratObj %>% subset(celltype %in% sender_celltypes), features = order_ligands_adapted, cols = "RdYlBu") + coord_flip() + theme(legend.text = element_text(size = 10), legend.title = element_text(size = 12)) # flip of coordinates necessary because we want to show ligands in the rows when combining all plots
305
308
```
306
309
@@ -332,6 +335,10 @@ combined_plot
332
335
333
336
Top-ranked ligands and target genes shown here differ from the predictions shown in the respective case study in the NicheNet paper because 1) a different definition of expressed genes was used, and 2) we have updated the ligand-target matrix to include more data sources.
order_ligands_adapted[order_ligands_adapted=="H2.M3"] ="H2-M3"# cf required use of make.names for heatmap visualization | this is not necessary if these ligands are not in the list of prioritized ligands!
461
-
order_ligands_adapted[order_ligands_adapted=="H2.T23"] ="H2-T23"# cf required use of make.names for heatmap visualization | this is not necessary if these ligands are not in the list of prioritized ligands!
rotated_dotplot= DotPlot(seuratObj %>% subset(celltype%in%sender_celltypes), features=order_ligands_adapted, cols="RdYlBu") + coord_flip() + theme(legend.text= element_text(size=10), legend.title= element_text(size=12)) # flip of coordinates necessary because we want to show ligands in the rows when combining all plots
463
466
```
464
467
@@ -494,6 +497,54 @@ predictions shown in the respective case study in the NicheNet paper
494
497
because 1) a different definition of expressed genes was used, and 2) we
495
498
have updated the ligand-target matrix to include more data sources.
496
499
500
+
```r
501
+
sessionInfo()
502
+
## R version 4.3.1 (2023-06-16)
503
+
## Platform: x86_64-redhat-linux-gnu (64-bit)
504
+
## Running under: CentOS Stream 8
505
+
##
506
+
## Matrix products: default
507
+
## BLAS/LAPACK: /usr/lib64/libopenblaso-r0.3.15.so; LAPACK version 3.9.0
# For newer Seurat versions, you may need to run the following
37
+
seuratObj <- UpdateSeuratObject(seuratObj)
35
38
```
36
39
37
40
In this vignette, we will extend the basic NicheNet analysis analysis from [Perform NicheNet analysis starting from a Seurat object: step-by-step analysis](seurat_steps.md) by incorporating gene expression as part of the prioritization This is a generalization of the [Differential NicheNet](differential_nichenet.md) and [MultiNicheNet](https://github.com/saeyslab/multinichenetr) approach. While the original NicheNet only ranks ligands based on the ligand activity analysis, it is now also possible to prioritize ligands based on upregulation of the ligand/receptor, and the cell-type and condition specificity of hte ligand and receptor.
@@ -52,6 +55,7 @@ The NicheNet ligand-receptor network and weighted networks are necessary to defi
# 2. Define a gene set of interest: these are the genes in the “receiver/target” cell population that are potentially affected by ligands expressed by interacting cells (e.g. genes differentially expressed upon cell-cell interaction)
0 commit comments