Creates a mass spectrometer queue for Xcalibur
This function creates a measurement queue for sample acquisition for the software Xcalibur. All possible combinations of the provided information will be created to make file and sample names.
create_queue( date = NULL, instrument = NULL, user = NULL, measurement_type = NULL, experiment_name = NULL, digestion = NULL, treatment_type_1 = NULL, treatment_type_2 = NULL, treatment_dose_1 = NULL, treatment_dose_2 = NULL, treatment_unit_1 = NULL, treatment_unit_2 = NULL, n_replicates = NULL, number_runs = FALSE, organism = NULL, exclude_combinations = NULL, inj_vol = NA, data_path = NA, method_path = NA, position_row = NA, position_column = NA, blank_every_n = NULL, blank_position = NA, blank_method_path = NA, blank_inj_vol = 1, export = FALSE, export_to_queue = FALSE, queue_path = NULL )
date |
Optional, start date of the measurements. |
instrument |
Optional, instrument initials. |
user |
Optional, user name. |
measurement_type |
Optional, the measurement type of the samples (e.g "DIA", "DDA", "library" etc.). |
experiment_name |
Optional, name of the experiment. |
digestion |
Optional, the digestion types used in this experiment (e.g "LiP" and/or "tryptic control"). |
treatment_type_1 |
Optional, name of the treatment. |
treatment_type_2 |
Optional, name of a second treatment that was combined with the first treatment. |
treatment_dose_1 |
Optional, doses used for treatment 1. These can be concentrations or times etc. |
treatment_dose_2 |
Optional, doses used for treatment 2. These can be concentrations or times etc. |
treatment_unit_1 |
Optional, unit of the doses for treatment 1 (e.g min, mM, etc.). |
treatment_unit_2 |
Optional, unit of the doses for treatment 2 (e.g min, mM, etc.). |
n_replicates |
Optional, number of replicates used per sample. |
number_runs |
Specifies if file names should be numbered from 1:n instead of adding experiment information. Default is FALSE. |
organism |
Optional, name of the organism used. |
exclude_combinations |
Optional, list of lists that contains vectors treatment types and treatment doses whos combinations should be excluded from the final queue. |
inj_vol |
The volume used for injection in microliter. Will be |
data_path |
The file path where the MS raw data should be saved. Backslashes should be escaped by another backslash. Will be |
method_path |
The file path of the MS acquisition method. Backslashes should be escaped by another backslash. Will be |
position_row |
The row positions that can be used for the samples (e.g c("A", "B")). If the number of specified rows and columns does not equal the total number of samples, positions will be repeated. |
position_column |
The column positions that can be used for the samples (e.g 8). If the number of specified rows and columns does not equal the total number of samples, positions will be repeated. |
blank_every_n |
Optional, specifies in which intervals a blank sample should be inserted. |
blank_position |
The plate position of the blank. Will be |
blank_method_path |
The file path of the MS acquisition method of the blank. Backslashes should be escaped by another backslash.
Will be |
blank_inj_vol |
Injection volume of the blank sample. Will be |
export |
Logical, specifying if queue should be exported from R and saved as a .csv file. Default is TRUE. Further options for
export can be adjusted with the |
export_to_queue |
Logical, specifying if the resulting queue should be appended to an already existing queue. If false result will be saved as |
queue_path |
Optional, file path to a queue file to which the generated queue should be appended if |
If export_to_queue = FALSE
a file named queue.csv
will be returned that contains the generated queue. If export_to_queue = TRUE
, the resulting
generated queue will be appended to an already existing queue that needs to be specified either interactively or through the argument queue_path
.
create_queue( date = c("200722"), instrument = c("EX1"), user = c("jquast"), measurement_type = c("DIA"), experiment_name = c("JPQ031"), digestion = c("LiP", "tryptic control"), treatment_type_1 = c("EDTA", "H2O"), treatment_type_2 = c("Zeba", "unfiltered"), treatment_dose_1 = c(10, 30, 60), treatment_unit_1 = c("min"), n_replicates = 4, number_runs = FALSE, organism = c("E. coli"), exclude_combinations = list(list( treatment_type_1 = c("H2O"), treatment_type_2 = c("Zeba", "unfiltered"), treatment_dose_1 = c(10, 30) )), inj_vol = c(2), data_path = "D:\\2007_Data", method_path = "C:\\Xcalibur\\methods\\user\\DIA_120min_41var_AGC200", position_row = c("A", "B", "C", "D", "E", "F"), position_column = 8, blank_every_n = 4, blank_position = "1-V1", blank_method_path = "C:\\Xcalibur\\methods\\blank" )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.