R/101_deprecated_functions.R
identify_metabolites_params.Rd
Generate the parameter list for metIdentify function.
identify_metabolites_params(
ms1.ms2.match.mz.tol = 25,
ms1.ms2.match.rt.tol = 10,
ms1.match.ppm = 25,
ms2.match.ppm = 30,
mz.ppm.thr = 400,
ms2.match.tol = 0.5,
fraction.weight = 0.3,
dp.forward.weight = 0.6,
dp.reverse.weight = 0.1,
rt.match.tol = 30,
polarity = c("positive", "negative"),
ce = "all",
column = c("hilic", "rp"),
ms1.match.weight = 0.25,
rt.match.weight = 0.25,
ms2.match.weight = 0.5,
total.score.tol = 0.5,
candidate.num = 3,
database,
threads = 3
)
MS1 peak and MS2 spectrum matching m/z tolerance. Default is 25 pm.
MS1 peak and MS2 spectrum matching RT tolerance. Default is 10 s.
Precursor match ppm tolerance.
Fragment ion match ppm tolerance.
Accurate mass tolerance for m/z error calculation.
MS2 match (MS2 similarity) tolerance.
The weight for matched fragments.
Forward dot product weight.
Reverse dot product weight.
RT match tolerance.
The polarity of data, "positive"or "negative".
Collision energy. Please confirm the CE values in your database. Default is "all".
"hilic" (HILIC column) or "rp" (reverse phase).
The weight of MS1 match for total score calculation.
The weight of RT match for total score calculation.
The weight of MS2 match for total score calculation.
Total score tolerance. The total score are refering to MS-DIAL.
The number of candidate.
MS2 database name or MS2 database.
Number of threads
A metIdentifyClass object.
The example and demo data of this function can be found https://tidymass.github.io/metid/articles/multiple_databases.html
param1 <-
identify_metabolites_params(
ms1.match.ppm = 15,
rt.match.tol = 15,
polarity = "positive",
ce = "all",
column = "rp",
total.score.tol = 0.5,
candidate.num = 3,
threads = 3,
database = "msDatabase_rplc0.0.2"
)
#> This function is deprecated
param1
#> $metIdentifyParam
#> $metIdentifyParam$ms1.ms2.match.mz.tol
#> [1] 25
#>
#> $metIdentifyParam$ms1.ms2.match.rt.tol
#> [1] 10
#>
#> $metIdentifyParam$ms1.ms2.match.mz.tol
#> [1] 25
#>
#> $metIdentifyParam$ms1.ms2.match.rt.tol
#> [1] 10
#>
#> $metIdentifyParam$ms1.match.ppm
#> [1] 15
#>
#> $metIdentifyParam$ms2.match.ppm
#> [1] 30
#>
#> $metIdentifyParam$mz.ppm.thr
#> [1] 400
#>
#> $metIdentifyParam$ms2.match.tol
#> [1] 0.5
#>
#> $metIdentifyParam$fraction.weight
#> [1] 0.3
#>
#> $metIdentifyParam$dp.forward.weight
#> [1] 0.6
#>
#> $metIdentifyParam$dp.reverse.weight
#> [1] 0.1
#>
#> $metIdentifyParam$rt.match.tol
#> [1] 15
#>
#> $metIdentifyParam$polarity
#> [1] "positive"
#>
#> $metIdentifyParam$ce
#> [1] "all"
#>
#> $metIdentifyParam$column
#> [1] "rp"
#>
#> $metIdentifyParam$ms1.match.weight
#> [1] 0.25
#>
#> $metIdentifyParam$rt.match.weight
#> [1] 0.25
#>
#> $metIdentifyParam$ms2.match.weight
#> [1] 0.5
#>
#> $metIdentifyParam$total.score.tol
#> [1] 0.5
#>
#> $metIdentifyParam$candidate.num
#> [1] 3
#>
#> $metIdentifyParam$database
#> [1] "msDatabase_rplc0.0.2"
#>
#> $metIdentifyParam$threads
#> [1] 3
#>
#>