compareLists(ID.List1, ID.List2, mapping = NULL, two.sided=TRUE, B = 1000, alphas = NULL, invar.q = 0.5, min.weight = 1e-5, no.reverse=FALSE)
ID.List1
.ID.List1
must match to exactly one entry of
column 1 of the mapping, each element in ID.List2
must match exactly one
element in column 2 of the mapping. If mapping is NULL
, the two lists
are expected to contain the same identifiers and there must be a one-to-one
relationship between the two.NULL
, alphas are
determined such that reasonable maximal ranks to be considered result.listComparison
is returned. It contains the following
list elements:
listComparison
objects. The plot
method takes a parameter which
to specify whether "overlap" or
"density" is to be drawn.
getOverlap
.
OrderedList
, getOverlap
### Compare two artificial lists with some overlap
data(OL.data)
list1 <- as.character(OL.data$map$prostate)
list2 <- c(sample(list1[1:500]),sample(list1[501:1000]))
x <- compareLists(list1,list2)
x
getOverlap(x)
Run the code above in your browser using DataLab