# NOT RUN {
#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)
# }
Run the code above in your browser using DataLab