readControls {readat} | R Documentation

## Read SomaLogic Sample Submission Controls File

### Description

Read SomaLogic Sample Submission Controls File

### Usage

    readControls(file = "controls.csv")

### Arguments

`file` | A string denoting the path to an input CSV file. See Input file specification section.

### Value

A `data.table` with 96 rows and 2 columns.

PlatePosition

  A letter followed by a number, constructed from the Subarray ("A" for 1, "B" for 2, etc.) and the slide number from 1 to 12.

BarCode

  Sample barcode for QC, Calibrator, and Buffer samples, in the form "I" followed by 6 digits.

### Input file specification

A CSV file without a header line containing up to 96 rows and two columns as follows.

1. Plate positions from A1, A2, through to H12.

2. Barcodes in the form "I" followed by 6 digits.

### See Also

`readSlides`, `readComments`, and `readSamples` for reading other submission forms and `writeSampleSubmissionForm` for usage examples.

### Examples

    # See ?writeSampleSubmissionForm for a more complete example
    withr::with_dir(
      system.file("extdata", package = "readat"),
      {
        (controls <- readControls())
      }
    )

[Package readat version 1.8.0 Index]