Skip to content

Commit

Permalink
Changed docs explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilly-May committed Dec 7, 2023
1 parent b01ac0d commit a56dde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pertpy/tools/_perturbation_space/_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def compute(
target_col: .obs column that stores the label of the perturbation applied to each cell.
layer_key: If specified pseudobulk computation is done by using the specified layer. Otherwise, computation is done with .X
embedding_key: `obsm` key of the AnnData embedding to use for computation. Defaults to the 'X' matrix otherwise.
keep_obs: .obs columns in the input AnnData to keep in the output pseudobulk AnnData. Only .obs columns with the same value for
each cell of one perturbation can be kept. Defaults to None.
keep_obs: Whether .obs columns in the input AnnData should be kept in the output pseudobulk AnnData. Only .obs columns with the same value for
each cell of one perturbation are kept. Defaults to True.
Examples:
Compute the centroids of a UMAP embedding of the papalexi_2021 dataset:
Expand Down

0 comments on commit a56dde8

Please sign in to comment.