shiny.getPathwayIgraph: shiny.getPathwayIgraph

View source: R/shiny.getPathwayIgraph.r

shiny.getPathwayIgraphR Documentation

shiny.getPathwayIgraph

Description

shiny.getPathwayIgraph

Usage

shiny.getPathwayIgraph(input, Pathway.Name)

Arguments

input

- A list object of parameters (esp. from R shiny app). Required parameters are ptIDs, diagClass and pathwayMapId.

Pathway.Name

- The name of the pathway map for which you want the topological information.

Value

template.ig - Igraph object of selected pathway map.

Examples

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)[4]
input$diagClass = "paa"
input$pathwayMapId = "All"
res = shiny.getPathwayIgraph(input, Miller2015)
# Returns a blank template for selected pathway, node labels and node types.

BRL-BCM/CTDext documentation built on May 7, 2022, 5:31 a.m.