Description Usage Arguments Value See Also Examples
View source: R/read-sample-submision-input-files.R
Writes a SomaLogic sample submission form to Excel XLSX file.
1 | writeSampleSubmissionForm(submission, outdir = ".")
|
submission |
A |
outdir |
A string denoting the path to the directory where the output file should be written. |
The name of the XLSX file is invisibly returned, but the function is mostly called for the side effect of writing this file.
readSlides
and createSampleSubmission
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Import the input files
withr::with_dir(
system.file("extdata", package = "readat"),
{
slides <- readSlides()
controls <- readControls()
comments <- readComments()
samples <- readSamples()
}
)
# Create the sample submission form and write to Excel spreadsheet
submission <- createSampleSubmission(
slides, controls, comments, samples,
studyName = "Taheri01", studyId = "WCQ-16-002"
)
writeSampleSubmissionForm(submission, tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.