xnat_connection | R Documentation |
Make the XNAT connection and provides functions to retrieve the list of projects, experiments and subjects.
xnat_connect(base_url, username = NULL, password = NULL, xnat_name = NULL, ...)
base_url |
the URL for the XNAT server |
username |
user name to use for connection. If |
password |
user name to use for connection. If |
xnat_name |
prefix to use for retrieving the proper username/pass system variables for a specific XNAT server |
... |
additional arguments passed to |
projects
## Connect to the NITRC.ORG database
## Not run: xnat_connect('https://nitrc.org/ir', xnat_name='NITRC')
## Connect to the XNAT.CENTRAL database
## Not run: xnat_connect('https://central.xnat.org', xnat_name="CENTRAL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.