Description Usage Arguments Examples
This function writes the ROI list file on a disk space.
1 | writeROI(ROIList, roifilepath)
|
ROIList |
a list, ROI List variable to be written |
roifilepath |
a character string, path to the ROI file |
1 2 3 4 5 6 7 8 9 | #loading the ROI files from the example directory
f <- system.file(package = 'xROI', 'example/ROI/example_DB_0001_roi.csv')
#parsing the example ROI file and store in roi
roi <- parseROI(f)
#write the loaded ROI in the temporary path
tempPath <- file.path(tempdir(), 'roi.csv')
writeROI(roi, tempPath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.