spamosaic.build_graph.build_intra_graph
- spamosaic.build_graph.build_intra_graph(ads, rad_cutoff, knns)[source]
Construct intra-batch graphs for a list of AnnData objects.
- Parameters:
ads (List[AnnData]) – List of spatial AnnData objects.
rad_cutoff (float) – Radius cutoff for spatial neighbor graph.
knns (List[int]) – List of maximum neighbors per AnnData.