ndex_helper_getApi: Get the Api configuration for a function

View source: R/ndex_helper.r

ndex_helper_getApiR Documentation

Get the Api configuration for a function

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

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

## 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')

frankkramer-lab/ndexr documentation built on April 4, 2023, 7:19 p.m.