dot-rank_matrix: Function to convert a list of characters to a ranked matrix...

.rank_matrixR Documentation

Function to convert a list of characters to a ranked matrix [0,1]

Description

Function to convert a list of characters to a ranked matrix [0,1]

Usage

.rank_matrix(glist, ...)

Arguments

glist

a list of ranked/ordered characters

Details

Adated from Kolde et al., 2012. Required due to the removal of the RobustRankAggregate package from CRAN.

Value

a matrix filled with 0-1 values depending on the position order of the characters.

References

Kolde, R., Laur, S., Adler, P. and Vilo, J., 2012. Robust rank aggregation for gene list integration and meta-analysis. Bioinformatics, 28(4), pp.573-580.


saezlab/liana documentation built on Nov. 8, 2023, 11:53 a.m.