Skip to content

Commit

Permalink
Updated some docstring in pseudobulk function
Browse files Browse the repository at this point in the history
  • Loading branch information
bli25 committed Jun 5, 2024
1 parent 541912c commit 3266879
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pegasus/tools/pseudobulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def get_pseudobulk_count(X, df, attr, bulk_list):

@timer(logger=logger)
def pseudobulk(
data: MultimodalData,
data: Union[MultimodalData, UnimodalData],
groupby: str,
attrs: Optional[Union[List[str], str]] = None,
mat_key: str = "counts",
condition: Optional[str] = None,
) -> UnimodalData:
) -> MultimodalData:
"""Generate Pseudo-bulk count matrices.
Parameters
Expand Down Expand Up @@ -157,9 +157,7 @@ def deseq2(
compute_all: bool = False,
n_jobs: int = -1,
) -> None:
"""Perform Differential Expression (DE) Analysis using DESeq2 on pseduobulk data. This function calls R package DESeq2, requiring DESeq2 in R installed.
DE analysis will be performed on all pseudo-bulk matrices in pseudobulk.
"""Perform Differential Expression (DE) Analysis using DESeq2 on pseduobulk data.
Parameters
----------
Expand Down

0 comments on commit 3266879

Please sign in to comment.