readComments: Read SomaLogic Sample Submission Comments File

Description Usage Arguments Value Input file specification See Also Examples

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

Description

Read SomaLogic Sample Submission Comments File

Usage

1
readComments(file = "comments.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.

SampleNotes

Either "red", "yellow", "turbid", "red, turbid", or "yellow, turbid", or no notes.

AssayNotes

Free text describing assay notes, particularly problems.

Input file specification

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

  1. Plate positions. Not all positions need to be included, and they don't need to be in order.

  2. Sample notes. Either "red", "yellow", "turbid", "red, turbid", or "yellow, turbid", or no notes.

  3. Assay notes. Free text.

See Also

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

readat documentation built on Oct. 31, 2019, 8:19 a.m.