Skip to content

Commit bbadbb6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 80ea566 commit bbadbb6

24 files changed

+90
-132
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you don't have Python installed, we recommend installing [Mambaforge][].
2222

2323
There are several alternative options to install troutpy:
2424

25-
1) Install the latest release of `troutpy` from [PyPI][]:
25+
1. Install the latest release of `troutpy` from [PyPI][]:
2626

2727
```bash
2828
pip install troutpy
@@ -43,6 +43,7 @@ import troutpy as tp
4343
```
4444

4545
## Reproducibility
46+
4647
Code, notebooks, and instructions to reproduce the results from the paper are available at the [reproducibility repository](https://github.com/theislab/troutpy_reproducibility). This repository also include diverse tutorials and compementary functions that are not core to Troutpy, but are required to reproduce the figures from Marco Salas et al. 2025.
4748

4849
## Release notes

docs/.ipynb_checkpoints/index-checkpoint.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Tools <api/tools.md>
1111
Plotting <api/plotting.md>
1212
1313
```
14+
1415
```{toctree}
1516
:maxdepth: 3
1617
:caption: Tutorials
@@ -26,4 +27,4 @@ changelog.md
2627
contributing.md
2728
references.md
2829
29-
```
30+
```

docs/.ipynb_checkpoints/references-checkpoint.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ @article{blampey2024sopa
3838
pages={4981},
3939
year={2024},
4040
publisher={Nature Publishing Group UK London}
41-
}
41+
}

docs/api/.ipynb_checkpoints/plotting-checkpoint.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
.. autosummary::
1010
:toctree: generated/basic_plots
11-
11+
1212
crosstab
1313
histogram
1414
pie
@@ -23,7 +23,7 @@
2323
```{eval-rst}
2424
.. autosummary::
2525
:toctree: generated/quantification
26-
26+
2727
gene_metric_heatmap
2828
logfoldratio_over_noise
2929
metric_scatter
@@ -33,18 +33,15 @@
3333
moranI_histogram
3434
diffusion_results
3535
spatial_inout_expression
36-
37-
```
38-
39-
4036
37+
```
4138

4239
## Source, target and communication
4340

4441
```{eval-rst}
4542
.. autosummary::
4643
:toctree: generated/communication
47-
44+
4845
celltype_communication
4946
gene_communication
5047
global_distribution_from_source
@@ -54,25 +51,24 @@
5451
target_score_by_celltype
5552
interactions_with_arrows
5653
spatial_interactions
57-
54+
5855
```
5956

6057
## Factor analysis
6158

6259
```{eval-rst}
6360
.. autosummary::
6461
:toctree: generated/factor_analysis
65-
62+
6663
factors_in_cells
6764
rank_factor_genes_loadings
6865
rank_factor_genes_loadings_matrixplot
6966
nmf_factors_exrna_cells_W
7067
nmf_gene_contributions
7168
paired_nmf_factors
7269
apply_exrnaH_to_cellular_to_create_cellularW
73-
74-
```
7570
71+
```
7672

7773
## Colormaps & palettes
7874

@@ -83,6 +79,3 @@
8379
get_colormap
8480
get_palette
8581
```
86-
87-
88-

docs/api/.ipynb_checkpoints/preprocessing-checkpoint.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
pp.define_urna
1616
pp.filter_urna
1717
pp.format_adata
18+
```

docs/api/.ipynb_checkpoints/tools-checkpoint.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
tl.calculate_target_cells
3636
tl.compute_target_score
3737
tl.define_target_by_celltype
38-
tl.cluster_distribution_from_source
38+
tl.cluster_distribution_from_source
3939
tl.get_gene_interaction_strength
4040
tl.communication_strength
4141
tl.gene_specific_interactions
@@ -46,7 +46,7 @@
4646
```{eval-rst}
4747
.. autosummary::
4848
:toctree: generated/cell_scores
49-
49+
5050
tl.compute_contribution_score
5151
```
5252

@@ -55,7 +55,7 @@
5555
```{eval-rst}
5656
.. autosummary::
5757
:toctree: generated/factors
58-
58+
5959
tl.factors_to_cells
6060
tl.latent_factor
6161
```
@@ -68,15 +68,14 @@
6868
6969
tl.assess_diffusion
7070
tl.compute_js_divergence
71-
71+
7272
```
7373

7474
## Multimodal quantication
7575

7676
```{eval-rst}
7777
.. autosummary::
7878
:toctree: generated/multimodal
79-
79+
8080
tl.image_intensities_per_transcript
8181
```
82-

docs/api/plotting.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
.. autosummary::
1010
:toctree: generated/basic_plots
11-
11+
1212
crosstab
1313
histogram
1414
pie
@@ -23,7 +23,7 @@
2323
```{eval-rst}
2424
.. autosummary::
2525
:toctree: generated/quantification
26-
26+
2727
gene_metric_heatmap
2828
logfoldratio_over_noise
2929
metric_scatter
@@ -33,18 +33,15 @@
3333
moranI_histogram
3434
diffusion_results
3535
spatial_inout_expression
36-
37-
```
38-
39-
4036
37+
```
4138

4239
## Source, target and communication
4340

4441
```{eval-rst}
4542
.. autosummary::
4643
:toctree: generated/communication
47-
44+
4845
celltype_communication
4946
gene_communication
5047
global_distribution_from_source
@@ -54,25 +51,24 @@
5451
target_score_by_celltype
5552
interactions_with_arrows
5653
spatial_interactions
57-
54+
5855
```
5956

6057
## Factor analysis
6158

6259
```{eval-rst}
6360
.. autosummary::
6461
:toctree: generated/factor_analysis
65-
62+
6663
factors_in_cells
6764
rank_factor_genes_loadings
6865
rank_factor_genes_loadings_matrixplot
6966
nmf_factors_exrna_cells_W
7067
nmf_gene_contributions
7168
paired_nmf_factors
7269
apply_exrnaH_to_cellular_to_create_cellularW
73-
74-
```
7570
71+
```
7672

7773
## Colormaps & palettes
7874

@@ -83,6 +79,3 @@
8379
get_colormap
8480
get_palette
8581
```
86-
87-
88-

docs/api/preprocessing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
pp.define_urna
1616
pp.filter_urna
1717
pp.format_adata
18+
```

docs/api/tools.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
tl.calculate_target_cells
3636
tl.compute_target_score
3737
tl.define_target_by_celltype
38-
tl.cluster_distribution_from_source
38+
tl.cluster_distribution_from_source
3939
tl.get_gene_interaction_strength
4040
tl.communication_strength
4141
tl.gene_specific_interactions
@@ -46,7 +46,7 @@
4646
```{eval-rst}
4747
.. autosummary::
4848
:toctree: generated/cell_scores
49-
49+
5050
tl.compute_contribution_score
5151
```
5252

@@ -55,7 +55,7 @@
5555
```{eval-rst}
5656
.. autosummary::
5757
:toctree: generated/factors
58-
58+
5959
tl.factors_to_cells
6060
tl.latent_factor
6161
```
@@ -68,15 +68,14 @@
6868
6969
tl.assess_diffusion
7070
tl.compute_js_divergence
71-
71+
7272
```
7373

7474
## Multimodal quantication
7575

7676
```{eval-rst}
7777
.. autosummary::
7878
:toctree: generated/multimodal
79-
79+
8080
tl.image_intensities_per_transcript
8181
```
82-

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Tools <api/tools.md>
1111
Plotting <api/plotting.md>
1212
1313
```
14+
1415
```{toctree}
1516
:maxdepth: 3
1617
:caption: Tutorials
@@ -26,4 +27,4 @@ changelog.md
2627
contributing.md
2728
references.md
2829
29-
```
30+
```

0 commit comments

Comments
 (0)