View source: R/BoneDensityFunctions.R
import_scan | R Documentation |
import CT scan
import_scan(scan_filepath)
scan_filepath |
String. File path to CT scan data. Should be .nii or .nrrd |
scan object
Scott Telfer scott.telfer@gmail.com
# Download CT scan
url <- "https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_hip.nii.gz"
scan_filepath <- tempfile(fileext = ".nii.gz")
download.file(url, scan_filepath, mode = "wb")
import_scan(scan_filepath)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.