query: Query for raw data.

View source: R/opentimsr.R

queryR Documentation

Query for raw data.

Description

Get the raw data from Bruker's 'tdf_bin' format. Defaults to both raw data ('frame','scan','tof','intensity') and its tranformations into physical units ('mz','inv_ion_mobility','retention_time').

Usage

query(opentims, frames, columns = all_columns)

Arguments

opentims

Instance of OpenTIMS.

frames

Vector of frame numbers to extract.

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(query(D, c(1,20, 53)) # extract all columns
print(query(D, c(1,20, 53), columns=c('scan','intensity')) # only 'scan' and 'intensity'

## End(Not run)

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

Related to query in opentimsr...