readSlides: Read SomaLogic Sample Submission Slides File

Description Usage Arguments Value Input file specification Note See Also Examples

View source: R/read-sample-submision-input-files.R

Description

Read SomaLogic Sample Submission Slides File

Usage

1
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

1
2
3
4
5
6
7
# See ?writeSampleSubmissionForm for a more complete example
withr::with_dir(
  system.file("extdata", package = "readat"),
  {
    (slides <- readSlides())
  }
)

graumannlab/readat documentation built on May 16, 2020, 10:15 p.m.