mmcci.io.read_stLearn
- mmcci.io.read_stLearn(path, key='cell_type', save_anndata=True) CCIData[source]
Reads a stLearn ligand-receptor analysis output and converts it to a CCIData object.
- Parameters:
path (str) – The path to the stLearn ligand-receptor analysis output.
key (str) (optional) – The key in adata.obs that was used for CCI. Defaults to “cell_type”.
save_anndata (bool) (optional) – Whether to save the AnnData object in the CCIData object. Defaults to True.
- Returns:
The CCIData object.
- Return type: