Import a network from the NDEx database into Cytoscape.

importNetworkFromNDEx(
  ndex.id,
  username = NULL,
  password = NULL,
  accessKey = NULL,
  ndex.url = "http://ndexbio.org",
  ndex.version = "v2",
  base.url = .defaultBaseUrl
)

Arguments

ndex.id

Network externalId provided by NDEx. This is not the same as a Cytoscape SUID.

username

(optional) NDEx account username; required for private content

password

(optional) NDEx account password; required for private content

accessKey

(optional) NDEx accessKey; alternate access to private content

ndex.url

(optional) For alternative instances or deployments of NDEx; default is "http://ndexbio.org"

ndex.version

(optional) For alternative versions of the NDEx API; default is "v2"

base.url

(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3.

Value

(integer) SUID of imported network

Examples

# \donttest{
importNetworkFromNDEx(ndex.id)
# }