The spectral library is used to scan mzXML measurment files for compounds using the DBAS algorithm. The parameters for DBAS and file locations (measurement files and spectral library) are stored in the `msrawfileRecord`s passed to the `records` argument.
Examples
if (FALSE) { # \dontrun{
dbComm <- getDbComm()
recs <- getTableAsRecords(
dbComm,
"ntsp25.2_msrawfiles",
searchBlock = list(query = list(regexp = list(filename = "Des_19_.._pos.mzXML"))),
newMsrawfilesRecord
)
recsBlanks <- getTableAsRecords(
dbComm,
"ntsp25.2_msrawfiles",
searchBlock = list(query = list(regexp = list(path = ".*mud_pos/BW.*"))),
newMsrawfilesRecord
)
res <- scanBatchDbas(c(recs, recsBlanks), "Methyltriphenylphosphonium")
} # }