correspond_between_two_rankings.Rd
Correspond two rankings
A vector of scores calculated by one metric.
A vector of scores calculated by another metric.
Name of the first metric.
Name of the second metric.
Color for the first metric.
Color for the second metric.
Top n elements to show the correspondance.
Transparency of the connecting lines.
Size of the points, must be a unit
object.
Whether to plot in a new graphic page.
Ratio of width of the left barplot, connection lines and right barplot. The three values will be scaled to a sum of 1.
In x1
and x2
, the i^th element in both vectors corresponds to the same object (e.g. same row if they are calculated from a matrix) but with different
scores under different metrics.
x1
and x2
are sorted in the left panel and right panel respectively. The top n elements
under corresponding metric are highlighted by vertical colored lines in both panels.
The left and right panels also shown as barplots of the scores in the two metrics.
Between the left and right panels, there are lines connecting the same element (e.g. i^th element in x1
and x2
)
in the two ordered vectors so that you can see how a same element has two different ranks in the two metrics.
Under the plot is a simple Venn diagram showing the overlaps of the top n elements by the two metrics.
No value is returned.
correspond_between_rankings
draws for more than 2 sets of rankings.