R/pwayGraph.R

library("graph")

setClass("pwayGraph", 
         representation(pwaySource="character"), 
         contains="graphNEL")

setMethod("plot", "pwayGraph", function(x, y, ...) {
    plot(as(x, "graphNEL"),
         nodeAttrs=x@graphData$nAttrs, 
         edgeAttrs=x@graphData$eAttrs,
         recipEdges="distinct", ...)
})

Try the pathRender package in your browser

Any scripts or data that you put into this service are public.

pathRender documentation built on Nov. 8, 2020, 8:03 p.m.