Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
xingzhongyu committed Dec 18, 2024
1 parent 577919a commit a66bf43
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dance/transforms/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,20 @@ def __init__(
@register_preprocessor("filter", "cell")
@add_mod_and_transform
class FilterCellsCommonMod(BaseTransform):
"""Initialize the FilterCellsCommonMod class.
Parameters
----------
mod1 : str
Name of the first modality in the single-cell dataset.
mod2 : str
Name of the second modality in the single-cell dataset.
sol : Optional[str], default=None
Name of the optional solution dataset containing cell labels or annotations.
**kwargs : dict
Additional keyword arguments passed to the base transformation class.
"""

def __init__(self, mod1: str, mod2: str, sol: Optional[str] = None, **kwargs):
super().__init__(**kwargs)
Expand Down

0 comments on commit a66bf43

Please sign in to comment.