ndex_create_group {ndexr} | R Documentation |
Create a group owned by the authenticated user based on the supplied group JSON object.
ndex_create_group(ndexcon, groupName, image, website, description, properties)
ndexcon |
object of class NDExConnection linkndex_connect |
groupName |
character; name of the new graoup |
image |
character (optional); URL of the account owner's image |
website |
character (optional); URL of the account owner's web site |
description |
character (optional); Short description of this user |
properties |
list (optional); additional properties for the group |
url (including the UUID) of the newly created group
POST: ndex_config$api$group$create
Requires an authorized user! (ndex_connect with credentials)
Compatible to NDEx server version 2.0
## Establish a server connection with credentials # ndexcon = ndex_connect('MyAccountName', 'MyPassword') # groupURL = ndex_create_group(ndexcon, 'SomeGroupName') ## [1] "http://public.ndexbio.org/v2/group/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" # groupURL = ndex_create_group(ndexcon, 'SomeGroupName', image='http://bit.ly/1M3NoQZ', website='www.gidf.com', description='A very special group..') NULL