Skip to content

Commit

Permalink
remove CoreMS formula column and let as.peakData auto-create it
Browse files Browse the repository at this point in the history
  • Loading branch information
clabornd committed Dec 4, 2024
1 parent 18f60d2 commit 6e26ba5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/coreMSDataToFtmsData.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ coreMSDataToFtmsData <- function(cmsObj) {
e_meta[element_cnames] <- counts_df

e_meta <- e_meta %>%
dplyr::ungroup() %>%
dplyr::select(Mass, all_of(element_cnames), `Calibrated m/z`, .data[[calc_mass]],
.data[[heteroatom]], .data[[ion_type]]) %>%
dplyr::arrange(Mass)
Expand Down

0 comments on commit 6e26ba5

Please sign in to comment.