This function converts spectra to queries.
Usage
spectra_to_queries(
spectra = NULL,
export = "data/interim/queries.tsv",
beta_1 = 1,
beta_2 = 0.5,
dalton = 0.01,
decimals = 4L,
intensity_min = 0L,
ions_max = 10L,
n_skel_min = 5L,
n_spec_min = 3L,
ppm = 30L,
fscore_min = 0L,
precision_min = 0L,
recall_min = 0L,
zero_val = 0L
)
Arguments
- spectra
Spectra path
- export
Export path
- beta_1
Beta parameter of the single ion F-score calculation
- beta_2
Beta parameter of the total F-score calculation
- dalton
Tolerance in Dalton. Default to 0.01
- decimals
Number of decimals for rounding. Default to 4
- intensity_min
Minimal intensity. Default to 0
- ions_max
Maximal number of ions in the query. Default to 10
- n_skel_min
Minimal number of individuals per skeleton. Default to 5
- n_spec_min
Minimal number of individuals where a signal has to be found. Default to 3
- ppm
Tolerance in parts per million Default to 25
- fscore_min
Minimal single ion F-score. Default to 0
- precision_min
Minimal single ion precision. Default to 0
- recall_min
Minimal single ion recall. Default to 0
- zero_val
Zero value for intensity. Default to 0