Get the retention time for each frame.
rt_query(timsr, min_retention_time, max_retention_time, columns = all_columns)
Instance of TimsR
Lower boundry on retention time.
Upper boundry on retention time.
Vector of columns to extract. Defaults to all columns.
data.frame with selected columns.
# NOT RUN {
D = TimsR('path/to/your/folder.d')
print(query_slice(D, 10, 200, 4)) # extract every fourth frame between 10 and 200.
print(query_slice(D, 10, 200, 4, columns=c('scan','intensity')) # only 'scan' and 'intensity'
# }
Run the code above in your browser using DataLab