powered by
This is similar to using the from:to:by operator in Python.
# S4 method for OpenTIMS range(x, from, to, by = 1L)
OpenTIMS data instance.
The first frame to extract.
The last+1 frame to extract. Frame with that number will not get extracted, but some below that number might.
Extract each by-th frame
# NOT RUN { D = OpenTIMS('path/to/your/folder.d') print(head(range(D, 10,100,3))) # each third frame from 10 to 100. # }
Run the code above in your browser using DataLab