plot.OrderedList: Plotting Function for OrderedList Objects

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/plot.OrderedList.R

Description

The function generates three different plots, which can be selected via argument which. With default which=NULL, all three figures are plotted into one graphics device.

Usage

1
2
## S3 method for class 'OrderedList'
plot(x, which = NULL, no.title=FALSE, ...)

Arguments

x

Object of class OrderedList.

which

Select one of the three figures described in the details section below.

no.title

logical, whether to skip plotting a title.

...

Additional graphical arguments.

Details

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 α is chosen. The pAUC-score measure the separability between the two distributions of observed and expected similarity scores. The similarity scores depend on α and thus α is chosen where the pAUC-scores are maximal. The optimal α is marked by a vertical line.

Figure 'scores' shows kernel density estimates of the two score distributions underlying the pAUC-score for optimal α. 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.

Value

No value is returned.

Author(s)

Xinan Yang, Stefanie Scheid

References

Yang X, Bentink S, Scheid S, and Spang R (2006): Similarities of ordered gene lists, to appear in Journal of Bioinformatics and Computational Biology.

See Also

OrderedList

Examples

1
2

OrderedList documentation built on Nov. 1, 2018, 2:26 a.m.