powered by
GetShortestPathsFromCCG(network, hypothesisnode, targetnode, showbothdirs = FALSE, display = TRUE)
network <- system.file(package='CausalR', 'extdata', 'testNetwork.sif') ccg = CreateCCG(network) hypothesisnode = 1 targetnode = 10 GetShortestPathsFromCCG (ccg, hypothesisnode, targetnode)
Run the code above in your browser using DataLab