Learn R Programming

simPATHy (version 0.6)

getPathShiny: Choose a path in a graph from an interactive shiny app

Description

Choose a path in a graph from an interactive shiny app with the rigth format for simPATHy function.

Usage

getPathShiny(graph)

Arguments

graph

A graphNEL object.

Value

Selected path with the right format for simPATHy function.

See Also

simPATHy

Examples

Run this code
# NOT RUN {
 if(require(gRbase)){
  graph <- gRbase::dag(~c:a, ~c:b, ~d:c, ~e:d)

  # Launch the interactive plot
  # path <- getPathShiny(graph)
 }
# }

Run the code above in your browser using DataLab