Skip to content

Commit

Permalink
colnames of input df returned to original state
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaGomoryova committed Sep 11, 2024
1 parent 0182a4a commit 6ce5b09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/FindRecalSeries.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#' @return DataFrame A filtered dataframe.
filter_recal_series <- function(df, abundance_score_threshold, peak_distance_threshold) {
df <- df %>%
dplyr::rename_with(~ gsub(" ", ".", .x, fixed = TRUE)) %>%
dplyr::filter(Abundance.Score > abundance_score_threshold) %>%
dplyr::filter(Peak.Distance < peak_distance_threshold) %>%
tidyr::separate(col = Mass.Range, into = c("Min.Mass.Range", "Max.Mass.Range"), sep = "-") %>%
Expand Down

0 comments on commit 6ce5b09

Please sign in to comment.