Skip to content

Commit f5343d7

Browse files
author
Sergio Salas
committed
minor_adjust_docs
1 parent a6392c7 commit f5343d7

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/troutpy/pp/aggregate.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from spatialdata import SpatialData
1313
from spatialdata.models import ShapesModel
1414
from tqdm import tqdm
15-
from anndata import AnnData
1615

1716

1817
def _make_squares(centroid_coordinates: np.ndarray, half_widths: list[float]) -> ShapesModel:

src/troutpy/tl/.ipynb_checkpoints/quantify_urna-checkpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

src/troutpy/tl/quantify_urna.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)