Skip to content

Commit

Permalink
Merge pull request #12 from ricoderks/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ricoderks authored Jul 8, 2021
2 parents dab71fc + ecbc495 commit 6a797d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: lipidomics
Type: Package
Title: Lipidomics workflow
Version: 0.6.2
Version: 0.6.3
Author: Rico Derks
Maintainer: Rico Derks <[email protected]>
Description: Lipidomics workflow to proces the result files (export alignment)
Expand Down
12 changes: 8 additions & 4 deletions R/shinyAppServer.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,16 @@ shinyAppServer <- function(input, output, session) {
all_data$lipid_data_filter <- all_data$lipid_data_long %>%
mutate(
keep = case_when(
!(.data$my_id %in% keep_class) ~ FALSE,
!(.data$my_id %in% keep_rsd) ~ FALSE,
!(.data$my_id %in% keep_msms) ~ FALSE,
!(.data$my_id %in% keep_class) ~ FALSE,
# !(.data$my_id %in% keep_class) ~ FALSE,
TRUE ~ TRUE),
comment = case_when(
!(.data$my_id %in% keep_class) ~ "remove_class",
!(.data$my_id %in% keep_rsd) ~ "large_rsd",
!(.data$my_id %in% keep_msms) ~ "no_match",
!(.data$my_id %in% keep_class) ~ "remove_class",
# !(.data$my_id %in% keep_class) ~ "remove_class",
TRUE ~ "")
)
})
Expand Down Expand Up @@ -491,14 +493,16 @@ shinyAppServer <- function(input, output, session) {
all_data$lipid_data_filter <- tmp_filter %>%
mutate(
keep = case_when(
!(.data$my_id %in% keep_lipids_class) ~ FALSE,
!(.data$my_id %in% keep_lipids_rsd) ~ FALSE,
!(.data$my_id %in% keep_lipids_msms) ~ FALSE,
!(.data$my_id %in% keep_lipids_class) ~ FALSE,
# !(.data$my_id %in% keep_lipids_class) ~ FALSE,
TRUE ~ TRUE),
comment = case_when(
!(.data$my_id %in% keep_lipids_class) ~ "remove_class",
!(.data$my_id %in% keep_lipids_rsd) ~ "large_rsd",
!(.data$my_id %in% keep_lipids_msms) ~ "no_match",
!(.data$my_id %in% keep_lipids_class) ~ "remove_class",
# !(.data$my_id %in% keep_lipids_class) ~ "remove_class",
TRUE ~ "")
)
})
Expand Down

0 comments on commit 6a797d5

Please sign in to comment.