Description Usage Arguments Value Examples
Download a single file from XNAT
1 | download_xnat_file(conn, ...)
|
conn |
The XNAT connection returned by a |
... |
file_path Path to the file to be downloaded destfile Destination filename prefix Prefix the file name with this (prevents overwriting of same name files in case function is used to download multiple scan types at once) verbose Should progress be added to download? error Should function error if download failed? |
Display path to the downloaded file
1 2 3 4 5 6 7 | ## file_path is retrieved using the get_scan_resources() function
## Not run:
xnat_central_conn <- xnat_connect('https://central.xnat.org', xnat_name="CENTRAL")
r <- get_scan_resources(xnat_central_conn,'CENTRAL_E00760')
download_xnat_file(xnat_central_conn,r$URI[1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.