Learn R Programming

MLP (version 1.20.0)

plot.MLP: Plot the Results of an MLP Run

Description

Plot the Results of an MLP Run

Usage

"plot" (x, y = NULL, type = c("barplot", "GOgraph", "quantileCurves"), ...)

Arguments

x
object of class 'MLP'
y
argument added to comply with generic; not used, defaults to NULL
type
character of length one; one of 'barplot', 'GOgraph' or 'quantileCurves'
...
further arguments for the plot functions for each type

Value

for type = "barplot", the midpoints of the barplot

Examples

Run this code
pathExampleMLPResult <- system.file("exampleFiles", "exampleMLPResult.rda", package = "MLP")
load(pathExampleMLPResult)
dev.new(width = 10, height = 10)
op <- par(mar = c(30, 10, 6, 2))
plot(exampleMLPResult, type = "barplot")
par(op)
plot(exampleMLPResult, type = "quantileCurves")
if (require(GO.db) && require(Rgraphviz)){
  plot(exampleMLPResult, type = "GOgraph")
}

Run the code above in your browser using DataLab