tests/testthat/_snaps/init-Sea.md

init_wells works

Code
  init_wells(wells = list(), x = sea)
Output
  # A tibble: 24 x 3
     well  type   group
     <chr> <chr>  <fct>
   1 A01   blank  blank
   2 A02   sample A    
   3 A03   sample A    
   4 A04   sample A    
   5 A05   sample A    
   6 A06   sample B    
   7 B01   sample B    
   8 B02   sample B    
   9 B03   sample B    
  10 B04   blank  blank
  # i 14 more rows
Code
  init_wells(wells = list(well = "A01", type = "sample", group = "A"))
Output
  # A tibble: 1 x 3
    well  type   group
    <chr> <chr>  <fct>
  1 A01   sample A

init_stages works

Code
  init_stages(stages = list(), x = sea)
Output
  # A tibble: 288 x 3
     measurement stage well 
           <dbl> <chr> <chr>
   1           1 basal A01  
   2           1 basal A02  
   3           1 basal A03  
   4           1 basal A04  
   5           1 basal A05  
   6           1 basal A06  
   7           1 basal B01  
   8           1 basal B02  
   9           1 basal B03  
  10           1 basal B04  
  # i 278 more rows

blanks formatted correctly

Code
  sea@blanks
Output
  # A tibble: 8 x 2
    rate  well 
    <fct> <chr>
  1 OCR   A01  
  2 OCR   B04  
  3 OCR   C03  
  4 OCR   D06  
  5 ECAR  A01  
  6 ECAR  B04  
  7 ECAR  C03  
  8 ECAR  D06

outliers formatted correctly

Code
  sea@outliers
Output
  # A tibble: 2 x 2
    rate  well 
    <fct> <chr>
  1 OCR   B05  
  2 OCR   D04


wmoldham/seahorse documentation built on June 9, 2025, 11:36 a.m.