AnnData, db_filepath: Optional[str] = None, sep: str = '\t', source: str = 'connectomedb', copy: bool = False) Optional[AnnData][source]

Add significant Ligand-Receptor pairs into AnnData object

  • adata (AnnData The data object to add L-R info into) –

  • db_filepath (str The path to the CPDB results file) –

  • sep (str Separator of the CPDB results file) –

  • source (str Source of LR database (default: connectomedb, can also support 'cellphonedb')) –

  • copy (bool Copy flag indicating copy or direct edit) –



Return type:

AnnData The data object that L-R added into