# HG changeset patch # User recetox # Date 1680533803 0 # Node ID e9e9677e8147b385644d52b6616da9d4be97fa39 # Parent 7e1217022278a3c680ed7da2df5970cbff3ae615 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 4254c6f6f05915ceab5af5d7040ac2c44a8364b4 diff -r 7e1217022278 -r e9e9677e8147 macros.xml --- a/macros.xml Mon Feb 13 10:27:15 2023 +0000 +++ b/macros.xml Mon Apr 03 14:56:43 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 7e1217022278 -r e9e9677e8147 recetox_aplcms_remove_noise.xml --- a/recetox_aplcms_remove_noise.xml Mon Feb 13 10:27:15 2023 +0000 +++ b/recetox_aplcms_remove_noise.xml Mon Apr 03 14:56:43 2023 +0000 @@ -19,7 +19,7 @@ filename = '$input_file', min_pres = $min_pres, min_run = $min_run, - mz_tol = $mz_tol, + mz_tol = $mz_tol/1e6, baseline_correct = $baseline_correct, baseline_correct_noise_percentile = 0.05, intensity_weighted = $intensity_weighted, diff -r 7e1217022278 -r e9e9677e8147 utils.R --- a/utils.R Mon Feb 13 10:27:15 2023 +0000 +++ b/utils.R Mon Apr 03 14:56:43 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)) +}