query_slice | 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_slice(opentims, from = NULL, to = NULL, by = 1, columns = all_columns)
opentims |
Instance of OpenTIMS. |
from |
First frame to extract. |
to |
Last frame to extract. |
by |
Every by-th frame gets extracted (starting from the first one). |
columns |
Vector of columns to extract. Defaults to all columns. |
We assume 'from' <= 'to'.
data.frame with selected columns.
## Not run: D = OpenTIMS('path/to/your/folder.d') print(query_slice(D, 10, 200, 4)) # extract every fourth frame between 10 and 200. print(query_slice(D, 10, 200, 4, columns=c('scan','intensity')) # only 'scan' and 'intensity' ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.