Skip to content

Commit

Permalink
Set p = 1, penalize_lines = "none" for plate scoring functions in opt…
Browse files Browse the repository at this point in the history
…imize_multi_plate_design
  • Loading branch information
julianesiebourg authored and idavydov committed Aug 19, 2024
1 parent 61dbbbe commit cd80343
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/score_plates.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ optimize_multi_plate_design <- function(batch_container, across_plates_variables

if (!is.null(within_plate_variables)) {
plate_levels <- unique(bc$get_locations()[[plate]])
scoring_funcs <- purrr::map(within_plate_variables, ~ mk_plate_scoring_functions(bc, plate = plate, row = row, column = column, group = .x)) |>
scoring_funcs <- purrr::map(within_plate_variables,
~ mk_plate_scoring_functions(bc, plate = plate, row = row, column = column, group = .x,
p = 1, penalize_lines = "none")) |>
unlist()
names(scoring_funcs) <- paste(rep(within_plate_variables, each = length(plate_levels)), names(scoring_funcs))

Expand Down

0 comments on commit cd80343

Please sign in to comment.