Learn R Programming

RamiGO (version 1.18.0)

AmigoDot.to.graphAM: Converts an AmigoDot S4 object to a graphAM object.

Description

Converts an AmigoDot S4 object to a graphAM object.

Usage

AmigoDot.to.graphAM(object)

Arguments

object
is a AmigoDot S4 object.

Value

gAM
is a graphAM object.

Examples

Run this code
## set GO ID's and color
goIDs <- c("GO:0051130","GO:0019912","GO:0005783")
color <- c("lightblue","red","yellow")

dd <- getAmigoTree(goIDs=goIDs,color=color,
  filename="example",picType="dot",saveResult=FALSE)
tt <- readAmigoDot(object=dd)
AmigoDot.to.graphAM(tt)

Run the code above in your browser using DataLab