Description Usage Arguments Value Examples
View source: R/createPlateInput.R
This function creates a tab-separated values (tsv) file required for annotating plates, for example, the sample ID or patient ID for each plate.
Users can use the file created by this function as a starting point for preparing the plate annotation file required by the readScreen()
function.
Users can also prepare the plate annotation file from scratch, as long as it follows the format requirement. More information is available in the package vignette.
1 | createPlateInput(rawDir, file, entries = c(), batchAsFolder = FALSE)
|
rawDir |
a character string specifying the directory of the raw data folder |
file |
the output file name and path for the plate annotation file |
entries |
a vector of character strings to use as the column names in the plate annotation file (optional) |
batchAsFolder |
a logical value, whether the raw data from different batches are stored in different sub-folders.
The default value is |
This function creates a tab-separated values (tsv) file in the working directory.
1 2 3 4 5 | # create a template for plate annotation file
rawFolder <- system.file('testData/rawData', package = 'DrugScreenExplorer')
createPlateInput(rawDir = rawFolder, file = 'plateAnno.tsv',
entries = c('sampleID', 'patientID'))
# see vignette for more instructions
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.