Skip to content

Commit cdccdb0

Browse files
authored
remove decoupler mention (#869)
Signed-off-by: Lukas Heumos <[email protected]>
1 parent 8d519d8 commit cdccdb0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pertpy/tools/_perturbation_space/_simple.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def compute(
112112

113113

114114
class PseudobulkSpace(PerturbationSpace):
115-
"""Determines pseudobulks using decoupler."""
115+
"""Calculates pseudobulks."""
116116

117117
def compute(
118118
self,
@@ -127,10 +127,10 @@ def compute(
127127
128128
Args:
129129
adata: Anndata object of size cells x genes
130-
target_col: .obs column that stores the label of the perturbation applied to each cell.
131-
groups_col: Optional .obs column that stores a grouping label to consider for pseudobulk computation.
130+
target_col: `.obs` column that stores the label of the perturbation applied to each cell.
131+
groups_col: Optional `.obs` column that stores a grouping label to consider for pseudobulk computation.
132132
The summarized expression per perturbation (target_col) and group (groups_col) is computed.
133-
layer_key: If specified pseudobulk computation is done by using the specified layer. Otherwise, computation is done with .X
133+
layer_key: If specified pseudobulk computation is done by using the specified layer. Otherwise, computation is done with `.X`.
134134
embedding_key: `obsm` key of the AnnData embedding to use for computation. Defaults to the 'X' matrix otherwise.
135135
mode: Pseudobulk aggregation function
136136
@@ -203,8 +203,8 @@ def compute( # type: ignore
203203
204204
Args:
205205
adata: Anndata object of size cells x genes
206-
layer_key: if specified and exists in the adata, the clustering is done by using it. Otherwise, clustering is done with .X
207-
embedding_key: if specified and exists in the adata, the clustering is done with that embedding. Otherwise, clustering is done with .X
206+
layer_key: if specified and exists in the adata, the clustering is done by using it. Otherwise, clustering is done with `.X`.
207+
embedding_key: if specified and exists in the adata, the clustering is done with that embedding. Otherwise, clustering is done with `.X`.
208208
cluster_key: name of the .obs column to store the cluster labels. Default 'k-means'
209209
copy: if True returns a new Anndata of same size with the new column; otherwise it updates the initial adata
210210
return_object: if True returns the clustering object
@@ -269,8 +269,8 @@ def compute( # type: ignore
269269
270270
Args:
271271
adata: Anndata object of size cells x genes
272-
layer_key: If specified and exists in the adata, the clustering is done by using it. Otherwise, clustering is done with .X
273-
embedding_key: if specified and exists in the adata, the clustering is done with that embedding. Otherwise, clustering is done with .X
272+
layer_key: If specified and exists in the adata, the clustering is done by using it. Otherwise, clustering is done with `.X`.
273+
embedding_key: if specified and exists in the adata, the clustering is done with that embedding. Otherwise, clustering is done with `.X`.
274274
cluster_key: name of the .obs column to store the cluster labels.
275275
copy: if True returns a new Anndata of same size with the new column; otherwise it updates the initial adata
276276
return_object: if True returns the clustering object

0 commit comments

Comments
 (0)