Skip to content

Radial kernel + cutoff for neighborhood graph #1241

Description

@durr1602

Description of feature

Hi,

I'm pretty new to the field so I apologize in advance if this doesn't make sense. When inferring paracrine signals or anything that diffuses across a neighborhood graph, I would think intuitive that spatial connectivities be weighted (assuming interaction is stronger when a receptor is closer for example). LIANA+ does this using radial kernels (Gaussian by default) and a cutoff. Historically, it seems that LIANA implemented its own version of spatial_neighbors mostly to remove the squidpy dependency but I'm left wondering how much the two functions now overlap. Could it be interesting to implement this? I guess this is related to how the graph is pruned when passing the current radius argument to any type of graph (Delaunay, KNN, radius..).

I'm doing that by hand for now, let's see how it goes. I would very much appreciate any feedback :), thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions