Learn R Programming

opentimsr (version 1.0.13)

rt_query: Get the retention time for each frame.

Description

Extract all frames corresponding to retention times inside [min_retention_time, max_retention_time] closed borders interval.

Usage

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

Arguments

opentims

Instance of OpenTIMS.

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 = OpenTIMS('path/to/your/folder.d')
print(rt_query(D, 10, 100)) # frames between tenth and a hundreth second of the experiment
# }

Run the code above in your browser using DataLab