Create rank matrix
Convert a set of ranked lists into a rank matrix
list of preference lists
number of all rankable elements
logical showing if the given rankings are complete
The lists are converted to a format that is used by aggregateRanks. If partial rankings are given to the function, all the missing values are subtituted by the maximum rank N, which can be specified manually. This parameter has a very strong influence on the performance of RRA algorithm, therfore it should be reasonably accurate. If the N is different for the gene lists, it can be also given as a vector.
Parameter full is used, when full rankings are given, but the sets of ranked elements do not match perfectly. Then the structurally missing values are substituted with NA-s.
A matrix, with as many columns as input rankings and rows as unique elements in all the rankings combined.
Raivo Kolde firstname.lastname@example.org
1 2 3 4 5 6 7 8 9
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.