Skip to content

Commit

Permalink
adding new function napariGater
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitjohnson committed Nov 20, 2024
1 parent 7082470 commit 44f4437
Show file tree
Hide file tree
Showing 9 changed files with 468 additions and 6 deletions.
5 changes: 5 additions & 0 deletions docs/Functions/pl/napariGater.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
hide:
- toc # Hide table of contents
---
::: scimap.plotting.napariGater
1 change: 1 addition & 0 deletions docs/Tools Shortcut.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import scimap as sm
| [`sm.pl.image_viewer`](Functions/pl/image_viewer.md) | Integrates with `napari` to offer an interactive platform for enhanced image viewing and annotation with data overlays. |
| [`sm.pl.addROI_image`](Functions/pl/addROI_image.md) | Facilitates the addition of Regions of Interest (ROIs) through `napari`, enriching spatial analyses with precise locational data. |
| [`sm.pl.gate_finder`](Functions/pl/gate_finder.md) | Aids in the manual gating process by overlaying marker positivity on images, simplifying the identification and analysis of cellular subsets. |
| [`sm.pl.napariGater`](Functions/pl/napariGater.md) | Modified version of gate_finder and soon to replace it. |
| [`sm.pl.heatmap`](Functions/pl/heatmap.md) | Creates heatmaps to visually explore marker expression or feature distributions across different groups. |
| [`sm.pl.markerCorrelation`](Functions/pl/markerCorrelation.md) | Computes and visualizes the correlation among selected markers. |
| [`sm.pl.groupCorrelation`](Functions/pl/groupCorrelation.md) | Calculates and displays the correlation between the abundances of groups across user defined conditions. |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "SCIMAP"
version = "2.1.3"
version = "2.2.0"
description = "Spatial Single-Cell Analysis Toolkit"

license = "MIT"
Expand Down
3 changes: 2 additions & 1 deletion scimap/plotting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
from .heatmap import heatmap
from .markerCorrelation import markerCorrelation
from .groupCorrelation import groupCorrelation
from .spatialInteractionNetwork import spatialInteractionNetwork
from .spatialInteractionNetwork import spatialInteractionNetwork
from .napariGater import napariGater
9 changes: 9 additions & 0 deletions scimap/plotting/gate_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
## Function
"""

import warnings

warnings.warn(
"gate_finder() is deprecated and will be removed in a future version. "
"Please use sm.pl.napariGater() instead.",
FutureWarning,
stacklevel=2,
)

try:
import napari
except:
Expand Down
Loading

0 comments on commit 44f4437

Please sign in to comment.