Skip to content

Commit

Permalink
Style code (GHA)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and ZetrextJG committed Oct 9, 2024
1 parent 6fc745c commit 067edf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion R/plots-plate.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ plot_counts <- function(plate, analyte_name, plot_counts = TRUE, plot_legend = F

# mapping function from counts to colors
map_to_color <- function(count, lower_threshold, higher_threshold) {

count <- as.integer(ifelse(count == " ", -1, count))
if (count < 0) {
return(color_map[" "])
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-plots_plate.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ get_test_plate <- function() {
)
}

get_real_plate <- function(){
get_real_plate <- function() {
plate_filepath <- system.file("extdata", "CovidOISExPONTENT_CO.csv",
package = "PvSTATEM"
package = "PvSTATEM"
)
layout_filepath <- system.file("extdata", "CovidOISExPONTENT_CO_layout.xlsx",
package = "PvSTATEM"
package = "PvSTATEM"
)

read_luminex_data(plate_filepath, layout_filepath)
Expand Down

0 comments on commit 067edf2

Please sign in to comment.