readSlides {readat} | R Documentation

## Read SomaLogic Sample Submission Slides File

### Description

Read SomaLogic Sample Submission Slides File

### Usage

    readSlides(file = "slides.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 5 columns.

SampleNumber

  The integers 1 to 96.

SlideId

  The slide IDs from the input file.

Subarray

  Integers from 1 to 8 denoting the sample position for the slide.

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.

PercentDilution

  Always 40.

### Input file specification

A CSV file without a header line containing up to twelve rows and one column as follows.

1. Slide IDs, each 12 digits long.

### Note

For partially filled plates (where there are less than 96 samples), there isn't enough information in the file to programmatically determine which slide IDs correspond to which sample IDs. In this case please manually create the slides dataset.

### See Also

`readControls`, `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"),
      {
        (slides <- readSlides())
      }
    )

[Package readat version 1.8.0 Index]