Learn R Programming

timsr (version 0.0.3)

query: 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(timsr, frames, columns = all_columns)

Arguments

timsr

Instance of TimsR.

frames

Vector of frame numbers to extract.

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

Run the code above in your browser using DataLab