liana.method.get_method_scores

liana.method.get_method_scores#

liana.method.get_method_scores()#

Shows the scoring methods available.

Return type:

dict

Returns:

Dictionary of all scoring functions, with a boolean indicating whether the score is ascending or not

Examples

Maps every score that liana’s methods report to whether a lower value is the stronger one – True for p-values and for the aggregate ranks. liana.method.process_scores() uses this to decide what to invert:

>>> import liana as li
>>> scores = li.mt.get_method_scores()