SOAPy_st.tl.lr_pairs
- class SOAPy_st.tl.lr_pairs(lr_data: DataFrame, Annotation_key: str | None = 'annotation', ligand_key: str | None = 'ligand_symbol', receptor_key: str | None = 'receptor_symbol')
Class for ligand and receptor pairs
- __init__(lr_data: DataFrame, Annotation_key: str | None = 'annotation', ligand_key: str | None = 'ligand_symbol', receptor_key: str | None = 'receptor_symbol')
Parameters
- lr_datapd.DataFrame
Ligand and receptor information database. Default: CellChat database
- Annotation_keystr
The key of Annotation (Contact or secretory) in lr_data
- ligand_keystr
The key of ligand in lr_data
- receptor_keystr
The key of receptor in lr_data
Methods
__init__(lr_data[, Annotation_key, ...])Parameters lr_data pd.DataFrame Ligand and receptor information database. Default: CellChat database Annotation_key str The key of Annotation (Contact or secretory) in lr_data ligand_key str The key of ligand in lr_data receptor_key str The key of receptor in lr_data
get_complexes([complex_sep])Get the names of all the complexes