Skip to content

Commit 601a57b

Browse files
committed
test mermaid
1 parent f31dcf4 commit 601a57b

1 file changed

Lines changed: 41 additions & 23 deletions

File tree

README.md

Lines changed: 41 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,47 @@ We welcome suggestions, ideas, and contributions! Please do not hesitate to cont
2020
A set of extensive vignettes can be found in the [LIANA+ documentation](https://liana-py.readthedocs.io/en/latest/).
2121

2222
## Decision Tree
23-
### Does the data contain spatial coordinates?
24-
#### Yes
25-
- **Q: Bivariate or unsupervised, multi-variate, and multi-view analysis?**
26-
- **Bivariate:**
27-
- **Q: Are you interested in identifying the subregions of interactions (i.e., local interactions)?**
28-
- **Yes:** Check the [**Local** Bivariate Metrics](https://liana-py.readthedocs.io/en/latest/notebooks/bivariate.html#Bivariate-Ligand-Receptor-Relationships)
29-
- **No:** Check the [**Global** Bivariate Metrics](https://liana-py.readthedocs.io/en/latest/notebooks/bivariate.html#Bivariate-Ligand-Receptor-Relationships)
30-
- **Unsupervised:** [Multi-view learning](https://liana-py.readthedocs.io/en/latest/notebooks/misty.html)
31-
32-
#### No
33-
- **Q: Are you interested in comparing CCC across samples?**
34-
- **Yes:**
35-
- **Q: Are you interested in a specific contrast?**
36-
- **Yes:** [Differential Contrasts and Downstream Signalling](https://liana-py.readthedocs.io/en/latest/notebooks/targeted.html)
37-
- **No:** Unsupervised Cross-conditional LR inference with [MOFA+](https://liana-py.readthedocs.io/en/latest/notebooks/mofatalk.html) or [Tensor-cell2cell](https://liana-py.readthedocs.io/en/latest/notebooks/liana_c2c.html)
38-
- **No:** [Steady-state Ligand-Receptor inference](https://liana-py.readthedocs.io/en/latest/notebooks/basic_usage.html)
39-
40-
### Is your data Multi-modal?
41-
- **Spatial:** [Integrating Multi-Modal Spatially-Resolved Technologies](https://liana-py.readthedocs.io/en/latest/notebooks/sma.html)
42-
- **Non-Spatial:** [Integrating Multi-Modal Single-Cell Technologies](https://liana-py.readthedocs.io/en/latest/notebooks/sc_multi.html)
43-
44-
#### Infer Metabolite-mediated CCC from transcriptomics?
45-
- [Non-spatial Data](https://liana-py.readthedocs.io/en/latest/notebooks/sc_multi.html#Metabolite-mediated-CCC-from-Transcriptomics-Data)
23+
24+
```mermaid
25+
flowchart TD
26+
Start[What type of data?] --> Spatial{Spatial<br/>coordinates?}
27+
Start --> Modal{Multi-modal?}
28+
29+
%% Spatial branch
30+
Spatial -->|Yes| SpatialRes{Resolution?}
31+
SpatialRes -->|Single-cell| Inflow[Inflow Score]
32+
SpatialRes -->|Spot-based| SpatialType{Analysis type?}
33+
SpatialType -->|Bivariate| LocalQ{Local<br/>interactions?}
34+
LocalQ -->|Yes| Local[Local Bivariate Metrics]
35+
LocalQ -->|No| Global[Global Bivariate Metrics]
36+
SpatialType -->|Unsupervised| MISTy[Multi-view Learning]
37+
38+
%% Non-spatial branch
39+
Spatial -->|No| Compare{Compare across<br/>samples?}
40+
Compare -->|Yes| Contrast{Specific<br/>contrast?}
41+
Contrast -->|Yes| Targeted[Differential Contrasts]
42+
Contrast -->|No| Unsup[MOFA+ / Tensor-cell2cell]
43+
Compare -->|No| Steady[Steady-state LR Inference]
44+
45+
%% Multi-modal branch
46+
Modal -->|Spatial| SMA[Multi-Modal Spatial]
47+
Modal -->|Non-Spatial| SCMulti[Multi-Modal Single-Cell]
48+
49+
%% Metabolite sub-branch
50+
SCMulti --> Metab[Metabolite-mediated CCC]
51+
52+
%% Links (click events)
53+
click Inflow "https://liana-py.readthedocs.io/en/latest/notebooks/inflow_score.html"
54+
click Local "https://liana-py.readthedocs.io/en/latest/notebooks/bivariate.html"
55+
click Global "https://liana-py.readthedocs.io/en/latest/notebooks/bivariate.html"
56+
click MISTy "https://liana-py.readthedocs.io/en/latest/notebooks/misty.html"
57+
click Targeted "https://liana-py.readthedocs.io/en/latest/notebooks/targeted.html"
58+
click Unsup "https://liana-py.readthedocs.io/en/latest/notebooks/mofatalk.html"
59+
click Steady "https://liana-py.readthedocs.io/en/latest/notebooks/basic_usage.html"
60+
click SMA "https://liana-py.readthedocs.io/en/latest/notebooks/sma.html"
61+
click SCMulti "https://liana-py.readthedocs.io/en/latest/notebooks/sc_multi.html"
62+
click Metab "https://liana-py.readthedocs.io/en/latest/notebooks/sc_multi.html#Metabolite-mediated-CCC"
63+
```
4664

4765
## API
4866
For further information please check LIANA's [API documentation](https://liana-py.readthedocs.io/en/latest/api.html).

0 commit comments

Comments
 (0)