Skip to content
Open
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
5c08081
init
selmanozleyen Apr 2, 2026
5847d84
doc clarifications
selmanozleyen Apr 2, 2026
179ba06
don't expose the builders
selmanozleyen Apr 2, 2026
e187aba
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 2, 2026
cdb5699
deduplicate
selmanozleyen Apr 2, 2026
847a46b
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 2, 2026
69cda1a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 2, 2026
fddc027
arrange builders
selmanozleyen Apr 2, 2026
a30988a
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 2, 2026
f194b10
better behaviour
selmanozleyen Apr 2, 2026
ae1eba1
move classes
selmanozleyen Apr 2, 2026
a86572b
Merge branch 'main' into feat/spatial_neighbours
selmanozleyen Apr 2, 2026
039b852
cleanup
selmanozleyen Apr 2, 2026
4699993
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 2, 2026
b5dcf9f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 2, 2026
4c11adf
add docs
selmanozleyen Apr 2, 2026
2b937e9
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 2, 2026
ea1ce93
remove leftover
selmanozleyen Apr 2, 2026
ebb7fd5
resolution in reolve func
selmanozleyen Apr 2, 2026
69a9394
reduce dup code
selmanozleyen Apr 2, 2026
77755ed
deprecate invalid n_neighs
selmanozleyen Apr 2, 2026
d8a8145
expose new functions and deprecate the flat one
selmanozleyen Apr 2, 2026
2e75b3f
move branches to classes
selmanozleyen Apr 2, 2026
8c1c2ef
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 2, 2026
268d30c
remove radius abstraction
selmanozleyen Apr 2, 2026
3f41243
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 2, 2026
aa9734a
add extensibility page
selmanozleyen Apr 2, 2026
67bad43
unprivate methods and add extensibility page
selmanozleyen Apr 2, 2026
65fa245
give a better example
selmanozleyen Apr 2, 2026
85bfdeb
apply signature suggestion
selmanozleyen Apr 9, 2026
79f584f
reorganize abstractions
selmanozleyen Apr 9, 2026
43cdbb6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 9, 2026
e632f74
remove unnecessary abstraction
selmanozleyen Apr 9, 2026
1f9da0e
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 9, 2026
c026860
put the warning in resolve graph builder code
selmanozleyen Apr 9, 2026
10cc2f0
remove n_neighs from RadiusBuilder
selmanozleyen Apr 9, 2026
6477f18
definition of Adj, Dst and rename to adj, dst
selmanozleyen Apr 9, 2026
516b3e0
Generalize the base class for extensibility
selmanozleyen Apr 10, 2026
141fdb6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 10, 2026
1fe316b
update docs
selmanozleyen Apr 10, 2026
bc6746a
Merge branch 'feat/spatial_neighbours' of https://github.com/selmanoz…
selmanozleyen Apr 10, 2026
bb1ec50
clarify delauney vs grid
selmanozleyen Apr 10, 2026
84cbdc4
dtype rec
selmanozleyen Apr 10, 2026
6d942ec
be a bit more verbose on funcitons
selmanozleyen Apr 10, 2026
ae9a4e6
spatial_neighbours_from_builder
selmanozleyen Apr 10, 2026
cd3f6fd
update docs to refer to each other
selmanozleyen Apr 10, 2026
95012dc
refer to the classes properly
selmanozleyen Apr 10, 2026
5a02b59
mark as TODO's
selmanozleyen Apr 13, 2026
3af98cc
rename sugg
selmanozleyen Apr 13, 2026
e8a19d7
add combine into API
selmanozleyen Apr 13, 2026
ac682a3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 13, 2026
0f3329c
update docs
selmanozleyen Apr 13, 2026
00ec2b0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 13, 2026
042f749
[pre-commit.ci] pre-commit autoupdate (#1149)
pre-commit-ci[bot] Apr 10, 2026
1a87841
Functions to QC histopathology images (#1036)
timtreis Apr 10, 2026
1cb6fde
remove coord_type abstraction
selmanozleyen Apr 13, 2026
8afcd03
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 13, 2026
3c4dffb
Merge branch 'main' into feat/spatial_neighbours
selmanozleyen Apr 13, 2026
21f02c3
make builder positional consistently
selmanozleyen Apr 13, 2026
744c757
make more abstractions
selmanozleyen Apr 13, 2026
dbc7f0d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 13, 2026
d7e5e5f
graphmatrixT exposure
selmanozleyen Apr 13, 2026
13768e2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 13, 2026
ea3f3ca
Merge branch 'main' into feat/spatial_neighbours
selmanozleyen Apr 20, 2026
21f248e
add radius: float | int | tuple t
selmanozleyen May 12, 2026
3bbc535
4 or 6
selmanozleyen May 12, 2026
a0426e6
Merge branch 'main' into feat/spatial_neighbours
selmanozleyen May 12, 2026
f3eab97
Merge branch 'main' into feat/spatial_neighbours
selmanozleyen May 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,18 @@ import squidpy as sq
datasets.visium_hne_image_crop
datasets.visium_fluo_image_crop
```


## Extensibility
```{eval-rst}
.. module:: squidpy.gr.neighbors
.. currentmodule:: squidpy
.. autosummary::
:toctree: api

gr.neighbors.GraphBuilder
gr.neighbors.KNNBuilder
gr.neighbors.RadiusBuilder
gr.neighbors.DelaunayBuilder
gr.neighbors.GridBuilder
```
8 changes: 7 additions & 1 deletion src/squidpy/gr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

from __future__ import annotations

from squidpy.gr._build import SpatialNeighborsResult, mask_graph, spatial_neighbors
from squidpy.gr import neighbors
from squidpy.gr._build import (
SpatialNeighborsResult,
mask_graph,
spatial_neighbors,
)
from squidpy.gr._ligrec import ligrec
from squidpy.gr._nhood import (
NhoodEnrichmentResult,
Expand All @@ -18,6 +23,7 @@
__all__ = [
"SpatialNeighborsResult",
"NhoodEnrichmentResult",
"neighbors",
"mask_graph",
"spatial_neighbors",
"ligrec",
Expand Down
Loading
Loading