Skip to content

Commit

Permalink
Update _spatial_expression.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitjohnson committed Mar 1, 2024
1 parent cf169ff commit 07bcb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scimap/tools/_spatial_expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
!!! abstract "Short Description"
`sm.tl.spatial_expression`: This function generates a neighborhood weighted matrix from spatial data, integrating expression values to assess local cellular environments.
It employs two approaches for neighborhood definition:
- **Radius Method**: Identifies neighbors within a specified radius, enabling analyses based on physical proximity.
Expand Down Expand Up @@ -157,7 +157,7 @@ def spatial_expression (adata,
# Calculate spatial expression using a 30-pixel radius
adata = spatial_expression(adata, x_coordinate='X_centroid', y_coordinate='Y_centroid',
method='radius', radius=30, use_raw=True,
method='radius', radius=30,
label='expression_radius_30')
# Calculate spatial expression using 10 nearest neighbors
Expand Down

0 comments on commit 07bcb19

Please sign in to comment.