|
5 | 5 | "id": "ecc6a985-29a7-44e4-8f27-c6a8883f3a41", |
6 | 6 | "metadata": {}, |
7 | 7 | "source": [ |
8 | | - "# Nichesphere data preprocessing tutorial\n", |
| 8 | + "# NicheSphere data preprocessing tutorial\n", |
9 | 9 | "\n", |
10 | | - "Nichesphere is an sc-verse compatible Python library which allows the user to find differentially co-localized cellular niches and biological processes involved in their interactions based on cell type pairs co-localization probabilities in different conditions. Cell type pair co-localization probabilities are obtained in different ways: from deconvoluted Visium 10x / PIC-seq data (probabilities of finding each cell type in each spot / multiplet), or counting cell boundaries overlaps for each cell type pair in single cell spatial data (MERFISH , CODEX ...). This is addressed in the differential co-localization tutorial.\n", |
| 10 | + "NicheSphere is an sc-verse compatible Python library which allows the user to find differentially co-localized cellular niches and biological processes involved in their interactions based on cell type pairs co-localization probabilities in different conditions. Cell type pair co-localization probabilities are obtained in different ways: from deconvoluted Visium 10x / PIC-seq data (probabilities of finding each cell type in each spot / multiplet), or counting cell boundaries overlaps for each cell type pair in single cell spatial data (MERFISH , CODEX ...). This is addressed in the differential co-localization tutorial.\n", |
11 | 11 | "\n", |
12 | | - "Nichesphere also offers the possibility to look at localized differential cell - cell communication based on Ligand-Receptor pairs expression data, such as results from CrossTalkeR [ref]. This is addressed in the localized differential communication tutorial.\n", |
| 12 | + "NicheSphere also offers the possibility to look at localized differential cell - cell communication based on Ligand-Receptor pairs expression data. This is addressed in the localized differential communication tutorial.\n", |
13 | 13 | "\n", |
14 | 14 | "This tutorial focuses on the data **pre-processing** needed before doing the differential co-localization and localized process based differential communication analyses. " |
15 | 15 | ] |
|
158 | 158 | "source": [ |
159 | 159 | "In this case, we will get cell type co-localization probabilities from **deconvoluted Visium** data (Cell type probabilities per spot): \n", |
160 | 160 | "\n", |
161 | | - "In a previous step, we used MOSCOT(Klein et. al., 2025) to deconvolute cell subtypes in visium slices from the same 23 samples , getting matrices of probabilities of each cell being in each spot. Now we will get cell type probabilities per spot summing the probabilities of cells of the same kind in each spot; thus getting cell type probability matrices for all spots per sample. This can be done with the **get_spot_ct_props** function from Nichesphere. As an example, we will do this for two samples: control sample **control_P1** and ischemic sample **GT_IZ_P9**" |
| 161 | + "In a previous step, we used MOSCOT(Klein et. al., 2025) to deconvolute cell subtypes in visium slices from the same 23 samples , getting matrices of probabilities of each cell being in each spot. Now we will get cell type probabilities per spot summing the probabilities of cells of the same kind in each spot; thus getting cell type probability matrices for all spots per sample. This can be done with the **get_spot_ct_props** function from NicheSphere. As an example, we will do this for two samples: control sample **control_P1** and ischemic sample **GT_IZ_P9**" |
162 | 162 | ] |
163 | 163 | }, |
164 | 164 | { |
|
1775 | 1775 | "source": [ |
1776 | 1776 | "## 4. For differential communication\n", |
1777 | 1777 | "\n", |
1778 | | - "Nichesphere is suited to work with CrossTalkeR output tables which contain columns called **cellpair**, indicating the cell types involved in an interaction separated by '@'; and **allpair**, indicating cell types, ligand and receptor involved. Additionally, input tables for Nichesphere should contain columns indicating the **ligand** (gene_A), **receptor** (gene_B) and **communication score** (MeanLR). The names for these last 3 columns can be indicated in Nichesphere functions.\n", |
| 1778 | + "NicheSphere is suited to work with CrossTalkeR output tables which contain columns called **cellpair**, indicating the cell types involved in an interaction separated by '@'; and **allpair**, indicating cell types, ligand and receptor involved. Additionally, input tables for NicheSphere should contain columns indicating the **ligand** (gene_A), **receptor** (gene_B) and **communication score** (MeanLR). The names for these last 3 columns can be indicated in NicheSphere functions.\n", |
1779 | 1779 | "\n", |
1780 | 1780 | "The following tables come from a CrossTalkeR run comparing **myogenic** and **ischemic** samples. They are the condition specific tables in the **LR_data_final** object:" |
1781 | 1781 | ] |
|
0 commit comments