| query | R Documentation |
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').
query(opentims, frames, columns = all_columns)
opentims |
Instance of OpenTIMS. |
frames |
Vector of frame numbers to extract. |
columns |
Vector of columns to extract. Defaults to all columns. |
data.frame with selected columns.
path.d = system.file("extdata", "test.d", package = "opentimsr")
setup_opensource()
D = OpenTIMS(path.d)
query(D, c(1, 2)) # extract all columns
query(D, c(1, 2), columns=c('scan','intensity')) # only 'scan' and 'intensity'
CloseTIMS(D)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.