# HG changeset patch # User recetox # Date 1680533698 0 # Node ID 30d04537d8235e9814874a51b02b0c260c211000 # Parent 0c56ad04560bbfb1acd1457bc0de80efa6e64635 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 4254c6f6f05915ceab5af5d7040ac2c44a8364b4 diff -r 0c56ad04560b -r 30d04537d823 macros.xml --- a/macros.xml Mon Feb 13 10:26:04 2023 +0000 +++ b/macros.xml Mon Apr 03 14:54:58 2023 +0000 @@ -1,5 +1,5 @@ - 0.10.1 + 0.10.3 r-recetox-aplcms @@ -42,47 +42,55 @@ - - - - - + + - - - - - - - - - - - - - - - - - - - + +
+ +
+ + +
+ + + + + + + + + + + + + + + + +
@@ -93,52 +101,55 @@ - - + + - - + + + - - - + + + If not given, 0.5 times the retention time tolerance in the aligned object will be used." /> - + + label="Weight intensity" help="Whether to weight the local density by signal intensities in initial peak detection." /> - - - + + + + diff -r 0c56ad04560b -r 30d04537d823 recetox_aplcms_recover_weaker_signals.xml --- a/recetox_aplcms_recover_weaker_signals.xml Mon Feb 13 10:26:04 2023 +0000 +++ b/recetox_aplcms_recover_weaker_signals.xml Mon Apr 03 14:54:58 2023 +0000 @@ -45,11 +45,11 @@ metadata_table = metadata, rt_table = rt_table, intensity_table = intensity_table, - mz_tol = $mz_tol, + mz_tol = $mz_tol/1e6, mz_tol_relative = get_mz_tol(tolerances), rt_tol_relative = get_rt_tol(tolerances), #if $recover_mz_range: - recover_mz_range = $recover_mz_range, + recover_mz_range = $recover_mz_range/1e6, #else: recover_mz_range = NA, #end if diff -r 0c56ad04560b -r 30d04537d823 utils.R --- a/utils.R Mon Feb 13 10:26:04 2023 +0000 +++ b/utils.R Mon Apr 03 14:54:58 2023 +0000 @@ -123,3 +123,13 @@ paste(sample_names, collapse = ", "))) } } + +determine_sigma_ratios <- function(sigma_ratio_lim_min = NA, sigma_ratio_lim_max = NA) { + if (is.na(sigma_ratio_lim_min)) { + sigma_ratio_lim_min <- 0 + } + if (is.na(sigma_ratio_lim_max)) { + sigma_ratio_lim_max <- Inf + } + return(c(sigma_ratio_lim_min, sigma_ratio_lim_max)) +}