File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212from spatialdata import SpatialData
1313from spatialdata .models import ShapesModel
1414from tqdm import tqdm
15- from anndata import AnnData
1615
1716
1817def _make_squares (centroid_coordinates : np .ndarray , half_widths : list [float ]) -> ShapesModel :
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ def in_out_correlation(
369369
370370 Parameters
371371 ----------
372- sdata : SpatialData
372+ sdata : spatialdata. SpatialData
373373 A SpatialData object containing both extracellular and cellular AnnData objects.
374374
375375 extracellular_layer : str
@@ -555,7 +555,7 @@ def cluster_distribution_from_source(
555555 A DataFrame with columns 'gene' and 'cluster' indicating the cluster assignment.
556556 hist_df : pandas.DataFrame
557557 A DataFrame where each row is a gene and the columns are the normalized histogram counts.
558- bin_edges : numpy.array
558+ bin_edges : numpy.ndarray
559559 The bin edges used for the histograms.
560560 """
561561 # Get the observation DataFrame from the 'source_score' layer.
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ def in_out_correlation(
369369
370370 Parameters
371371 ----------
372- sdata : SpatialData
372+ sdata : spatialdata. SpatialData
373373 A SpatialData object containing both extracellular and cellular AnnData objects.
374374
375375 extracellular_layer : str
@@ -555,7 +555,7 @@ def cluster_distribution_from_source(
555555 A DataFrame with columns 'gene' and 'cluster' indicating the cluster assignment.
556556 hist_df : pandas.DataFrame
557557 A DataFrame where each row is a gene and the columns are the normalized histogram counts.
558- bin_edges : numpy.array
558+ bin_edges : numpy.ndarray
559559 The bin edges used for the histograms.
560560 """
561561 # Get the observation DataFrame from the 'source_score' layer.
You can’t perform that action at this time.
0 commit comments