Learn R Programming

pnea (version 1.2.4)

plot.pnea: Plot method of pnea

Description

plot method for class "pnea".

Usage

"plot"(x, nbreaks = 10, ...)

Arguments

x
An object of class "pnea"
nbreaks
Number of breaks to be used in the histogram (default is 10)
...
Further arguments passed to or from other methods

Value

An histogram showing the distribution of p-values and a p-p plot comparing the distribution of p-values to the uniform distribution.

See Also

pnea, print.pnea, summary.pnea

Examples

Run this code
## Not run: 
# data(yeast)
# esr2 = list('ESR 2' = yeast$esr2)
# 
# test = pnea(alist = esr2, blist = yeast$goslimproc, network = yeast$yeastnet, 
#             nettype='undirected', nodes = yeast$ynetgenes, alpha = 0.01)
# 
# plot(test)
# ## End(Not run)

Run the code above in your browser using DataLab