which
. With default which=NULL
, all three figures are plotted into one graphics device.
"plot"(x, which = NULL, no.title=FALSE, ...)
OrderedList
. which
is one of 'pauc', 'scores' or 'overlap'. If NULL
, all figures are produced in a row.Option 'pauc' selects the plot of pAUC-scores, based on which the optimal $\alpha$ is chosen. The pAUC-score measure the separability between the two distributions of observed and expected similarity scores. The similarity scores depend on $\alpha$ and thus $\alpha$ is chosen where the pAUC-scores are maximal. The optimal $\alpha$ is marked by a vertical line.
Figure 'scores' shows kernel density estimates of the two score distributions underlying the pAUC-score for optimal $\alpha$. The red curve correspondence to simulated observed scores and the black curve to simulated expected scores. The vertical red line denotes the actually observed similarity score. The bottom rugs mark the simulated values. The two distributions got the highest pAUC-score of separability and thus provide the best signal-to-noise separation.
Finally, 'overlap' displays the numbers of overlapping genes in the two gene lists. The overlap size is drawn as a step function over the respective ranks. Top ranks correspond to up-regulated and bottom ranks to down-regulated genes. In addition, the expected overlap and 95% confidence intervals derived from a hypergeometric distribution are plotted. If empirical=TRUE
in OrderedList
the confidence intervals were derived empirically from shuffling the data and computing the overlap under the null hypothesis.
OrderedList
data(OL.result)
plot(OL.result)
Run the code above in your browser using DataLab