OrderedList
aims for the comparison of
comparisons: given two expression studies with one ranked (ordered)
list of genes each, we might observe considerable overlap among the
top-scoring genes. OrderedList
quantifies this overlap by
computing a weighted similarity score, where the top-ranking genes
contribute more to the score than the genes further down the list. The
final list of overlapping genes consists of those probes that
contribute a certain percentage to the overall similarity score.OrderedList(eset, B = 1000, test = "z", beta = 1, percent = 0.95,
verbose = TRUE, alpha=NULL, min.weight=1e-5, empirical=FALSE)
prepareData
to generate eset
.beta=1
. For example, in each single study the first class relates to bad prognosis while the second class relates to good prognosis. If a matching is not possible, we set beta=0.5
. For example, we compare a study with good/bad prognosis classes to a study, in which the classes are two types of cancer tissues.percent=0.95
. To get the full list of genes, set percent=1
.min.weight
.TRUE
, empirical confidence intervals will be computed by randomly permuting the class labels of each study. Otherwise, a hypergeometric distribution is used. Confidence intervals appear when using plot.OrderedList
.OrderedList
, which consists of a list with entries:eset
.percent
to the overall similarity score.beta=0.5
.alpha
. SIM.observed
: The observed similarity sore. SIM.alternative
: Vector of observed similarity scores simulated using sub-sampling within the distinct classes of each study. SIM.random
: Vector of random similarity scores simulated by randomly permuting the class labels of each study. subSample
: TRUE
to indicate that sub-sampling was used.plot.OrderedList
.NULL
if empirical=FALSE
.Efron B, Tibshirani R, Storey JD, and Tusher V (2001): Empirical Bayes analysis of a microarray experiment, Journal of the American Statistical Society 96, 1151--1160.
prepareData
, OL.data
, OL.result
, plot.OrderedList
, print.OrderedList
, compareLists
### Let's compare the two example studies.
### The first entries of 'out' both relate to bad prognosis.
### Hence the class labels match between the two studies
### and we can use 'OrderedList' with default 'beta=1'.
data(OL.data)
a <- prepareData(
list(data=OL.data$breast,name="breast",var="Risk",out=c("high","low"),paired=FALSE),
list(data=OL.data$prostate,name="prostate",var="outcome",out=c("Rec","NRec"),paired=FALSE),
mapping=OL.data$map
)
OL.result <- OrderedList(a)
### The same comparison was done beforehand.
data(OL.result)
OL.result
plot(OL.result)
Run the code above in your browser using DataLab