ccc_rank_aggregate
Aggregate ligand-receptor interaction scores from multiple cell-cell communication methods to identify significant interactions using grouping, filtering, and ranking techniques, facilitating precise analysis of single-cell RNA sequencing data.
Instructions
Get an aggregate of ligand-receptor scores from multiple Cell-cell communication methods.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aggregate_method | No | Method aggregation approach: 'mean' for mean rank, 'rra' for RobustRankAggregate. | rra |
base | No | Exponent base used to reverse the log-transformation of the matrix. Relevant only for the `logfc` method. | |
de_method | No | Differential expression method used to rank genes according to 1vsRest. | t-test |
expr_prop | No | Minimum expression proportion for the ligands and receptors in the corresponding cell identities. Set to 0 to return unfiltered results. | |
groupby | Yes | Key to be used for grouping or clustering cells (e.g., cell type annotations). | |
key_added | No | Key under which the results will be stored in adata.uns. | liana_res |
layer | No | Layer in AnnData.layers to use. If None, use AnnData.X. | |
min_cells | No | Minimum cells per cell identity to be considered for downstream analysis. | |
n_jobs | No | Number of jobs to run in parallel. | |
n_perms | No | Number of permutations for permutation-based methods. If None, no permutation testing is performed. | |
resource_name | No | Name of the resource to be used for ligand-receptor inference. See `li.rs.show_resources()` for available resources. | consensus |
return_all_lrs | No | Whether to return all ligand-receptor pairs, or only those that surpass the expr_prop threshold. | |
use_raw | No | Use raw attribute of adata if present. |