Description Usage Arguments Value REST query Note Examples
This is a convenience function designed to support "My Account" pages in NDEx applications. It returns a list of NetworkSummary objects to display.
1 | ndex_user_get_networksummary(ndexcon, userId)
|
ndexcon |
object of class NDExConnection linkndex_connect |
userId |
character; unique ID (UUID) of the user |
data.frame of networks (name, description, externalId, uri, etc.) on the account page of the specified user
GET: ndex_config$api$user$networksummary
Requires an authorized user! (ndex_connect with credentials)
Compatible to NDEx server version 2.0
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Establish a server connection with credentials
# ndexcon = ndex_connect('MyAccountName', 'MyPassword')
## get user by name to get UUID
# user = ndex_find_user_byName(ndexcon, 'MyAccountName')
# userId = user$externalId
## get all network permissions of the user
# networkSummary = ndex_user_get_networksummary(con, user$externalId)
# names(networkSummary)
## [1] "ownerUUID" "isReadOnly" "subnetworkIds" "errorMessage" "isValid"
## [6] "warnings" "isShowcase" "visibility" "edgeCount" "nodeCount"
##[11] "uri" "version" "owner" "name" "properties"
##[16] "description" "externalId" "isDeleted" "modificationTime" "creationTime"
NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.