rbo: Rank biased overlap (Webber et al., 2010)

Description Usage Arguments Value Author(s) See Also Examples

View source: R/gespeR-concordance.R

Description

Evaluates the rank biased overlap (rbo) of two ranked lists based on formula based on (32) from "A Similarity Measure for Indefinite Rankings" (Webber et al.). Two ranked lists with high rbo are very similar, wheras low rbo indicates dissimilar lists. rbo ranges between 0 and 1. In this method the extrapolated version of rbo is implemented.

Usage

1
2
rbo(s, t, p, k = floor(max(length(s), length(t))/2), side = c("top",
  "bottom"), mid = NULL, uneven.lengths = TRUE)

Arguments

s

List 1

t

List 2

p

Weighting parameter in [0, 1]. High p implies strong emphasis on top ranked elements

k

Evaluation depth for extrapolation

side

Evaluate similarity between the top or the bottom of the ranked lists

mid

Set the mid point to for example only consider positive or negative scores

uneven.lengths

Indicator if lists have uneven lengths

Value

rank biased overlap (rbo)

Author(s)

Fabian Schmich

See Also

concordance

Examples

1
2
3
4
a <- rnorm(26)
b <- rnorm(26)
names(a) <- names(b) <- LETTERS
rbo(a, b, p = 0.95)

Example output

Loading required package: ggplot2
Warning message:
In read.dcf(con) :
  URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'
[1] 0.2941689
Warning message:
system call failed: Cannot allocate memory 

gespeR documentation built on Nov. 8, 2020, 5:35 p.m.