computeAlpha: Function to do compute tunning parameter alpha

Description Usage Arguments Details Value Author(s) References Examples

Description

Function computes vector of possible alphas in Similarity of Ordered Gene List method. See Details.

Usage

1
computeAlpha(n = NULL, min.weight = 1e-05, ngenes)

Arguments

n

Number of genes to be considered in the comparison , if NULL a pre-defined vector is used

min.weight

Minimal weight to be counted

ngenes

Number of genes in the dataset

Details

Alphas are calculated so that at certain position (n), the exponential weights reach min.weight. If one is interessted in comparing ordered gene lists up to certain position, alpha appropriate for this position can be calculated.

Value

Numeric vector of possible alphas

Author(s)

Ivana Ihnatova

References

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

Examples

1
2
3
4
5
#using default n
A<-computeAlpha(ngenes=1000)

#or with user-selected n
A<-computeAlpha(n=seq(from=25, to=300, by= 25),ngenes=1000)

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

Related to computeAlpha in MAMA...