50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

timsr (version 0.0.3)

rt_query: Get the retention time for each frame.

Description

Get the retention time for each frame.

Usage

rt_query(timsr, min_retention_time, max_retention_time, columns = all_columns)

Arguments

timsr

Instance of TimsR

min_retention_time

Lower boundry on retention time.

max_retention_time

Upper boundry on retention time.

columns

Vector of columns to extract. Defaults to all columns.

Value

data.frame with selected columns.

Examples

Run this code
# 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