rank_method: Helper function to rank each method

rank_methodR Documentation

Helper function to rank each method

Description

Helper function to rank each method

Usage

rank_method(liana_res, method_name, mode = "specificity")

Arguments

liana_res

liana_results for a single method

method_name

name of the method

mode

ranking to be carried out. Accepted modes are 'specificity' and 'magnitude'. The first is meant to reflect the specificity of interactions across all cell types, while the latter typically reflects how highly expressed is a given interaction.

Details

this function makes use of liana's 'liana:::.score_specs' and 'liana:::.score_housekeep' functions.


saezlab/ligrec_decoupler documentation built on Aug. 10, 2024, 8:56 a.m.