This functions loads and checks the data file(s)
Arguments
- manifest_file
character, file path(s) to manifest(s)
- df_template_files
data.table, with datapaths and names of results file(s) or character with file path of templates file(s)
- results_file
data.table, with datapaths and names of results file(s) or character with file path of results file(s)
- instrument
character
Examples
td <- get_test_data()
l_tbl <- load_data(manifest_path(td), template_path(td), result_path(td))
#> INFO [2024-11-07 10:36:50] Manifest loaded successfully
#> INFO [2024-11-07 10:36:50] Reading Template_7daytreated.xlsx with load_templates_xlsx
#> INFO [2024-11-07 10:36:50] Loading Template_7daytreated.xlsx
#> INFO [2024-11-07 10:36:50] Loading Template_Untreated.xlsx
#> INFO [2024-11-07 10:36:50] Templates loaded successfully!
#> INFO [2024-11-07 10:36:50] Reading file /usr/local/lib/R/site-library/gDRimport/extdata/data1/RawData_day0.xlsx, sheet Readout_0077vs0068_day7
#> New names:
#> • `` -> `...1`
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...4`
#> • `` -> `...5`
#> • `` -> `...6`
#> • `` -> `...7`
#> • `` -> `...8`
#> • `` -> `...9`
#> • `` -> `...10`
#> • `` -> `...11`
#> • `` -> `...12`
#> • `` -> `...13`
#> • `` -> `...14`
#> • `` -> `...15`
#> • `` -> `...16`
#> • `` -> `...17`
#> • `` -> `...18`
#> • `` -> `...19`
#> • `` -> `...20`
#> • `` -> `...21`
#> • `` -> `...22`
#> • `` -> `...23`
#> • `` -> `...24`
#> • `` -> `...25`
#> INFO [2024-11-07 10:36:50] Plate 201904190a read; 384 wells
#> INFO [2024-11-07 10:36:50] Plate 201904190b read; 384 wells
#> INFO [2024-11-07 10:36:50] Plate 201904190c read; 384 wells
#> INFO [2024-11-07 10:36:50] Plate 201904190d read; 384 wells
#> INFO [2024-11-07 10:36:50] Plate 201904190e read; 384 wells
#> INFO [2024-11-07 10:36:50] Plate 201904190f read; 384 wells
#> INFO [2024-11-07 10:36:50] File done
#> INFO [2024-11-07 10:36:50] Reading file /usr/local/lib/R/site-library/gDRimport/extdata/data1/RawData_day7.xlsx, sheet Readout_0077vs0068_day7
#> New names:
#> • `` -> `...1`
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...4`
#> • `` -> `...5`
#> • `` -> `...6`
#> • `` -> `...7`
#> • `` -> `...8`
#> • `` -> `...9`
#> • `` -> `...10`
#> • `` -> `...11`
#> • `` -> `...12`
#> • `` -> `...13`
#> • `` -> `...14`
#> • `` -> `...15`
#> • `` -> `...16`
#> • `` -> `...17`
#> • `` -> `...18`
#> • `` -> `...19`
#> • `` -> `...20`
#> • `` -> `...21`
#> • `` -> `...22`
#> • `` -> `...23`
#> • `` -> `...24`
#> • `` -> `...25`
#> INFO [2024-11-07 10:36:51] Plate 201904197a read; 384 wells
#> INFO [2024-11-07 10:36:51] Plate 201904197b read; 384 wells
#> INFO [2024-11-07 10:36:51] Plate 201904197c read; 384 wells
#> INFO [2024-11-07 10:36:51] Plate 201904197d read; 384 wells
#> INFO [2024-11-07 10:36:51] Plate 201904197e read; 384 wells
#> INFO [2024-11-07 10:36:51] Plate 201904197f read; 384 wells
#> INFO [2024-11-07 10:36:51] File done