Skip to content

Commit

Permalink
fixing validation check in impute_missing_peaks()
Browse files Browse the repository at this point in the history
  • Loading branch information
delfarahalireza committed Nov 21, 2023
1 parent abe5470 commit 41ffe77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mutate_mzroll_list.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impute_missing_peaks <- function(mzroll_list,

features <- mzroll_list$features %>% dplyr::select(groupId)

if(!all(features$groupId %in% lod_values$groupId) | nrow(features) != nrow(lod_values)) {
if(!all(features$groupId %in% lod_values$groupId)) {
stop("groupId values of lod_value table and feature table of triple omic data must match")
}

Expand Down

0 comments on commit 41ffe77

Please sign in to comment.