spamosaic.build_graph.build_intra_graph

spamosaic.build_graph.build_intra_graph(ads, rad_cutoff, knns)[source]

Construct intra-batch spatial graphs for a list of AnnData objects.

Parameters:
  • ads (list of AnnData) – List of spatial AnnData objects. None entries are skipped.

  • rad_cutoff (float) – Distance threshold for the radius graph.

  • knns (list of int) – Maximum neighbors to query for each AnnData (same length as ads).

Return type:

None