| readSamples {readat} | R Documentation |
Read SomaLogic Sample Submission Samples File
readSamples(file = "samples.csv")
file |
A string denoting the path to an input CSV file. See Input file specification section. |
A data.table with 96 rows and 2 columns.
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.
9 digits.
A CSV file without a header line containing up to 96 rows and at least two columns as follows.
Plate positions. Not all positions need to be included, and they don't need to be in order.
Samples IDs in the form of 9 digits, or "NO READ".
Additional columns are ignored.
readSlides, readComments, and
readControls for reading other submission forms and
writeSampleSubmissionForm for usage examples.
# See ?writeSampleSubmissionForm for a more complete example
withr::with_dir(
system.file("extdata", package = "readat"),
{
(samples <- readSamples())
}
)