Skip to content

Commit

Permalink
modify function name to summarize with multiple cores
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Wu committed Mar 21, 2024
1 parent d6fd76b commit b8cac28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dataProcess.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ dataProcess = function(
processed = getProcessed(input)
input = MSstatsPrepareForSummarization(input, summaryMethod, MBimpute, censoredInt,
remove_uninformative_feature_outlier)
summarized = tryCatch(MSstatsSummarizeV2(input, summaryMethod,
summarized = tryCatch(MSstatsSummarizeWithMultipleCores(input, summaryMethod,
MBimpute, censoredInt,
remove50missing, equalFeatureVar,
numberOfCores),
Expand Down Expand Up @@ -158,7 +158,7 @@ dataProcess = function(
#'
#' @return list of length one with run-level data.
#'
MSstatsSummarizeV2 = function(input, method, impute, censored_symbol,
MSstatsSummarizeWithMultipleCores = function(input, method, impute, censored_symbol,
remove50missing, equal_variance, numberOfCores = 1) {
if (numberOfCores > 1) {
protein_indices = split(seq_len(nrow(input)), list(input$PROTEIN))
Expand Down

0 comments on commit b8cac28

Please sign in to comment.