plotGO: Plots a GO sub-graph

Description Usage Arguments Value Author(s) Examples

View source: R/plotGO.R

Description

Plots a GO subgraph with all the goids of interest up to the root of the ontology.

Usage

1
2
3
plotGO(goids, use = c("RamiGO", "Rgraphviz"), showPlot = TRUE,
  params = list(edge.labels = TRUE, color = "#8FBDDAFF", filename = "gotree",
  picType = "svg"))

Arguments

goids

A character vector of GO identifiers.

use

One of "RamiGO" or "Rgraphviz" that specifies which plot (and which format) should be generated.

showPlot

A logical defining if the plot should be displayed. Default is TRUE.

params

A list with additional parameters to be passed to other functions

Value

This function is primarily used for its side effects of generating plots. When using "RamiGO", a character containing the SVG code is invisibly returned. For "Rgraphviz", the GO sub-graph is returned as a graphNEL object.

Author(s)

Laurent Gatto

Examples

1
2
3
goids <-c("GO:0005739", "GO:0005773", "GO:0005783", "GO:0032588")
plotGO(goids)
plotGO(goids, use = "Rgraphviz")

lgatto/yagop documentation built on May 21, 2019, 6:08 a.m.