Skip to content

Commit

Permalink
SC_41 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneDefauw committed Jan 7, 2025
1 parent 1cd99f8 commit a4c6fcd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ Plotting functions.
.. autosummary::
:toctree: generated
pl.pixel_clusters
pl.pixel_clusters_heatmap
pl.snr_ratio
pl.group_snr_ratio
pl.snr_clustermap
Expand Down
23 changes: 11 additions & 12 deletions src/harpy/plot/_flowsom.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def pixel_clusters_heatmap(
Whether to z-score the intensity values for normalization. We recommend setting this to `True`.
clip_value
The value to clip the z-scored data to, for better visualization. If `None`, no clipping is performed.
Ignored if `z_score`is `False`.
Ignored if `z_score` is `False`.
output
The path to save the generated heatmap. If `None`, the heatmap will be displayed directly using `plt.show()`.
figsize
Expand All @@ -194,17 +194,16 @@ def pixel_clusters_heatmap(
Example
-------
```
harpy.tb.pixel_clusters_heatmap(
sdata,
table_layer="counts_clusters",
figsize=(30,20),
fig_kwargs={"dpi":100},
metaclusters=True,
z_score=True,
output="heatmap.png"
)
```
>>> harpy.tb.pixel_clusters_heatmap(
... sdata,
... table_layer="counts_clusters",
... figsize=(30, 20),
... fig_kwargs={"dpi": 100},
... metaclusters=True,
... z_score=True,
... output="heatmap.png"
... )
See Also
--------
Expand Down

0 comments on commit a4c6fcd

Please sign in to comment.