prelimScore: Function compute preliminary Similarity Score for Ordered...

Description Usage Arguments Value Author(s) References Examples

Description

Function computes preliminary Similarity Score as defined in Yang, 2005.

Usage

1
prelimScore(ordering, alpha, min.weight = 1e-05, two.sided = TRUE)

Arguments

ordering

Data frame, where columns refer to ordered gene list from one study

alpha

Numeric parameter used in weights exp(-alpha*n)

min.weight

minimal weight to be counted

two.sided

if TRUE both top and bottom of the ordering considered, if FALSE only top positions are considered

Value

Similarity Score

Author(s)

Ivana Ihnatova

References

Yang, X., Bentink, S., Scheid, S. Spang, R., Similarities of ordered gene lists, 2005

Examples

1
2
3
4
 
genes<-paste("Gene", 1:100)
O<-cbind(sample(genes), sample(genes), sample(genes))
prelimScore(O, 0.1)

MAMA documentation built on Jan. 15, 2017, 3:05 p.m.

Related to prelimScore in MAMA...