Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wolski committed Apr 6, 2024
1 parent 01cb334 commit 089b863
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion R/ContrastsSimpleImpute.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ContrastsMissing <- R6::R6Class(
# extract contrast sides
tt <- self$contrasts[grep("-",self$contrasts)]
tt <- tibble(contrast = names(tt) , rhs = tt)
tt <- tt |> mutate(rhs = gsub("[` ]","",rhs)) |>
tt <- tt |> dplyr::mutate(rhs = gsub("[` ]","",rhs)) |>
tidyr::separate(rhs, c("group_1", "group_2"), sep = "-")
return(tt)
},
Expand Down
4 changes: 0 additions & 4 deletions R/tidyMS_missigness.R
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,9 @@ get_contrast <- function(data,
#' config <- istar$config
#' analysis <- istar$data
#' data <- complete_cases(analysis, config)
#' config$parameter$qVal_individual_threshold <- 0.01
#' data <- prolfqua::remove_large_QValues(data, config)
#' data <- complete_cases(data, config)
#'
#' Contrasts <- c("dilution.b-a" = "group_A - group_B", "dilution.c-e" = "group_A - group_Ctrl")
#' res <- get_imputed_contrasts(data, config, Contrasts)
#'
#' config <- config
#' contrasts <- Contrasts
#' imputed <- missigness_impute_factors_interactions(data, config, value = "imputed" )
Expand Down

0 comments on commit 089b863

Please sign in to comment.