Description Usage Arguments Value Examples
View source: R/precook_measures.R
The function precook_measures() is used to read GcxGC raw data (all ncdf4 files of the directory), complete the measures (if any is bypassed) and obtain and altered TIC (without some chosen masses) of a particular second column time (t2) interval, The result contains also the non altered TIC (all the masses). The result is saved as the file preckd_measures.rda with the parameters used on the process saved in the file preckd_variables.rda
1 2 | precook_measures(cdf_folder, massestoavoid = NULL,
normalizationfactor = NULL, tmod, t2in = 0, t2out = NULL)
|
cdf_folder |
directory with the ncdf4 files. The resulting files will be saved also there |
massestoavoid |
vector with the names of the masses we don't want on the altered TIC |
normalizationfactor |
vector with multipliers factors assigned to each sample so that all samples can be compared with each other. Numbers of factors related to all samples or files (in alphabetical order) are needed. e.g. normalizationfactor=c(0.043, 1.725,0.371,0.055,0.034,0.062) |
tmod |
modulation time |
t2in |
Initial time of the second cromatographic column to start obtaining measures. By default is 0 |
t2out |
Final time of the second cromatographic column to end obtaining measures. By default is the modulation time |
There is no return. The results are saved on files preckd_measures.rda: preckd_variables.rda: Variables used during the precook (raw data filenames, massestoavoid, t2in, t2out, tmod)
1 | precook_measures(cdf_folder="C:/esborrar_mesuresGcxGc/mesures_Berkely_Noelia", massestoavoid=c(43,61,70,73,88,207,208,209,210,281), normalizationfactor=c(0.043, 1.725,0.371,0.055,0.034,0.062), tmod=5, t2in=1, t2out=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.