Skip to content

Commit 6e26ba5

Browse files
committed
remove CoreMS formula column and let as.peakData auto-create it
1 parent 18f60d2 commit 6e26ba5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/coreMSDataToFtmsData.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ coreMSDataToFtmsData <- function(cmsObj) {
8989
e_meta[element_cnames] <- counts_df
9090

9191
e_meta <- e_meta %>%
92+
dplyr::ungroup() %>%
9293
dplyr::select(Mass, all_of(element_cnames), `Calibrated m/z`, .data[[calc_mass]],
9394
.data[[heteroatom]], .data[[ion_type]]) %>%
9495
dplyr::arrange(Mass)

0 commit comments

Comments
 (0)