rt_query: Get the retention time for each frame.

View source: R/opentimsr.R

rt_queryR Documentation

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

## 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

## End(Not run)

opentimsr documentation built on March 30, 2022, 1:06 a.m.