createWellInput: Create a template for well annotation file

Description Usage Arguments Value Examples

View source: R/createWellInput.R

Description

This function creates a tab-separated values (tsv) file required for annotating wells on drug screening plate, for example, the name of the drug or drug concentration in each well. Users can use the file created by this function as a starting point for preparing the well annotation file required by the readScreen() function. Users can also prepare the well annotation file from scratch, as long as it follows the format requirement. More information is available in the package vignette.

Usage

1
2
3
4
5
6
7
createWellInput(
  file,
  colNum,
  rowNum,
  entries = c("name", "concentration"),
  platePerSample = 1
)

Arguments

file

the output file name and directory for the sample annotation file

colNum

the number of columns on the plate, will be labeled by numeric numbers

rowNum

the number of rows on the plate, will be labeled by alphabets

entries

a vector of characters to use as the column names in the drug file (optional)

platePerSample

a numeric value indicates the number of plates used for each sample in the screen. The default value is 1.

Value

This function creates a tab-separated values (tsv) file in the working directory.

Examples

1
2
3
4
# create a template for well annotation file
createWellInput(file = 'wellAnno.tsv', colNum = 24,
    rowNum = 16, entries = c('name', 'concentration'))
# see vignette for more instructions

lujunyan1118/DrugScreenExplorer_dev documentation built on Dec. 21, 2021, 12:42 p.m.