- A list object of parameters (esp. from R shiny app). Required parameters are ptIDs, diagClass and pathwayMapId.
- The name of the pathway map for which you want the topological information.
template.ig - Igraph object of selected pathway map.
1 2 3 4 5 6 7 8 9
data(Miller2015) # Input is supplied by R shiny app, but you can hard code parameters as a list object, too, to test functionality. input = list() input$ptIDs = colnames(Miller2015) input$diagClass = "paa" input$pathwayMapId = "All" ig = plot.getPathwayIgraph(input, Miller2015) # Returns a blank template for selected pathway. plot.igraph(ig, edge.arrow.size = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.