Reads a long CSV file with Feature Intensities
Arguments
- file
File name and path of a plain long-format CSV file
- field
Peak parameter (e.g. Area, RT)
- silent
Suppress messages
Examples
library(SLINGtools)
data_file_path <- system.file("extdata",
"Testdata_Lipidomics_MHQuant_Detailed.csv", package = "SLINGtools")
d_area <- read_MassHunterCSV_wide(data_file_path, field = "Area")
#> Reading [Testdata_Lipidomics_MHQuant_Detailed.csv] ...
#> Imported 215 samples with 428 transitions.
d_area
#> # A tibble: 215 × 432
#> DataFil…¹ AcqTimeStamp Sampl…² VialP…³ CE 14…⁴ CE 15…⁵ CE 16…⁶ CE 16…⁷
#> <chr> <dttm> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 001_EQC_… 2018-04-12 18:28:00 Sample Vial 2 1532 515 127953 40374
#> 2 002_EQC_… 2018-04-12 18:39:00 Sample Vial 2 1029 911 119645 43932
#> 3 003_EQC_… 2018-04-12 18:51:00 Sample Vial 2 685 649 142635 44512
#> 4 004_EQC_… 2018-04-12 19:02:00 Sample Vial 2 1283 576 132391 45639
#> 5 005_EQC_… 2018-04-12 19:13:00 Sample Vial 2 946 732 141413 44897
#> 6 006_EBLK… 2018-04-12 19:25:00 Sample P1-A1 132 75 286 176
#> 7 007_SOLV… 2018-04-12 19:36:00 Sample Vial 1 241 56 26 148
#> 8 008_LTR_… 2018-04-12 19:48:00 Sample P1-A2 1118 905 135278 58472
#> 9 009_NIST… 2018-04-12 19:59:00 Sample P1-A3 1499 482 127473 63573
#> 10 010_TQCd… 2018-04-12 20:11:00 Sample Vial 4 77 96 176 208
#> # … with 205 more rows, 424 more variables: `CE 16:2` <dbl>, `CE 17:0` <dbl>,
#> # `CE 17:1` <dbl>, `CE 18:0` <dbl>, `CE 18:1` <dbl>,
#> # `CE 18:1 d7 (ISTD)` <dbl>, `CE 18:2` <dbl>, `CE 18:3` <dbl>,
#> # `CE 20:1` <dbl>, `CE 20:2` <dbl>, `CE 20:3` <dbl>, `CE 20:4` <dbl>,
#> # `CE 20:5` <dbl>, `CE 22:0` <dbl>, `CE 22:1` <dbl>, `CE 22:4` <dbl>,
#> # `CE 22:5` <dbl>, `CE 22:6` <dbl>, `CE 24:4` <dbl>, `Cer d18:0/16:0` <dbl>,
#> # `Cer d18:0/18:0` <dbl>, `Cer d18:0/20:0` <dbl>, `Cer d18:0/22:0` <dbl>, …