Get roi ids from string

vpr_roi(x)

Arguments

x

A string specifying directory and file name of roi

Value

A string of only the 10 digit roi identifier

Author

K Sorochan

Examples


roi_string <- 'roi.0100000000.tif'
vpr_roi(roi_string)
#> [[1]]
#> [1] "0100000000"
#>