ndex_helper_getApi: Get the Api configuration for a function

Description Usage Arguments Value Note Examples

View source: R/ndex_helper.r

Description

This function extracts the function definition from the ndex configuration within a ndex-connection object. It follows the given path down the list.

Usage

1
ndex_helper_getApi(ndexcon, apiPath)

Arguments

ndexcon

object of class NDExConnection ndex_connect

apiPath

character; path to follow in the nested list

Value

configuration of the function

Note

This function is internal.

Examples

1
2
3
4
5
## Establish a server connection
ndexcon = ndex_connect()
## Get the function definition for ndex_network_get_summary
## ndex_config[[ndex_config$defaultVersion]]$api$network$summary$get
ndexr:::ndex_helper_getApi(ndexcon, 'network$summary$get')

ndexr documentation built on April 29, 2020, 5:20 a.m.