diff --git a/docs/api/index.md b/docs/api/index.md index 9ed9d685ec..6e7f1cafd6 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -14,7 +14,8 @@ Additional functionality is available in the broader {doc}`ecosystem <../ecosyst ## Array type support Different APIs have different levels of support for array types, -and this page lists the supported array types for each function: +and this page lists the supported array types for each function +(⚡ indicates support of the type as chunk in a dask {class}`~dask.array.Array`): ```{eval-rst} .. array-support:: all diff --git a/docs/conf.py b/docs/conf.py index fae0cc4e4f..d87ac0d0bb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -196,6 +196,7 @@ "tl.louvain": (["np", "sp"], []), # only uses graph in obsp "tl.paga": (["np", "sp"], []), "tl.rank_genes_groups": (["np", "sp"], []), + "tl.score_genes": (["np", "sp"], []), "tl.tsne": (["np", "sp"], []), "tl.umap": (["np", "sp"], []), } diff --git a/src/scanpy/tools/_score_genes.py b/src/scanpy/tools/_score_genes.py index 48ad38ab37..f57f50efae 100644 --- a/src/scanpy/tools/_score_genes.py +++ b/src/scanpy/tools/_score_genes.py @@ -73,6 +73,8 @@ def score_genes( # noqa: PLR0913 programs and cell scores" in materials and methods) and has been implemented for Scanpy by Davide Cittaro. + .. array-support:: tl.score_genes + Parameters ---------- adata @@ -269,6 +271,8 @@ def score_genes_cell_cycle( scores and assigns a cell cycle phase (G1, S or G2M). See :func:`~scanpy.tl.score_genes` for more explanation. + .. array-support:: tl.score_genes + Parameters ---------- adata