diff --git a/R/converters_DIANNtoMSstatsFormat.R b/R/converters_DIANNtoMSstatsFormat.R index 82268c8a..55057467 100644 --- a/R/converters_DIANNtoMSstatsFormat.R +++ b/R/converters_DIANNtoMSstatsFormat.R @@ -79,6 +79,30 @@ DIANNtoMSstatsFormat = function( use_log_file = TRUE, append = FALSE, verbose = TRUE, log_file_path = NULL, ...) { + validation_config = list( + input = input, + annotation = annotation, + qvalue_cutoff = qvalue_cutoff, + useUniquePeptide = useUniquePeptide, + removeFewMeasurements = removeFewMeasurements, + removeProtein_with1Feature = removeProtein_with1Feature, + calculateAnomalyScores = calculateAnomalyScores, + anomalyModelFeatures = anomalyModelFeatures, + anomalyModelFeatureTemporal = anomalyModelFeatureTemporal, + removeMissingFeatures = removeMissingFeatures, + anomalyModelFeatureCount = anomalyModelFeatureCount, + runOrder = runOrder, + n_trees = n_trees, + max_depth = max_depth, + numberOfCores = numberOfCores, + use_log_file = use_log_file, + append = append, + verbose = verbose, + log_file_path = log_file_path + ) + + .validateMSstatsConverterParameters(validation_config) + MSstatsConvert::MSstatsLogsSettings(use_log_file, append, verbose, log_file_path)