Rebuild the preprocessing object from a .nadia file
Source: R/Database_Read.R
nadia_preprocessing.RdReturns an object indistinguishable from what the preprocess_*() function
that wrote the file produced – Spectronaut, DIA-NN, TMT or label-free – so
it can be fed straight to process_proteomics() or to the table functions.
Arguments
- db
A
nadia_dbfromread_nadia().
Examples
if (requireNamespace("duckdb", quietly = TRUE)) {
data(nadia_dia)
f <- file.path(tempdir(), "pre.nadia")
write_nadia(f, nadia_dia, verbose = FALSE)
pre <- nadia_preprocessing(read_nadia(f))
identical(pre$protein_id, nadia_dia$protein_id)
unlink(f)
}