Learn R Programming

COMBIA (version 1.0.6)

selectPlate: Select one of the two read plates and built a hashtable. One plate from each pair of the read plate is selected in case of double plate experinment on the basis of presence of minimum selection key and if none have maxed out values then one with highest mean value is picked.

Description

Select one of the two read plates and built a hashtable. One plate from each pair of the read plate is selected in case of double plate experinment on the basis of presence of minimum selection key and if none have maxed out values then one with highest mean value is picked.

Usage

selectPlate(rawdata, processedbarcode, numberofrowsperplate, selectionkey,
  doubleplateexperiment)

Arguments

rawdata

An object(dataframe) of rawdata.

processedbarcode

A vector of regenerated missing keyvalues. In this case it is the output of function "extractKey".

numberofrowsperplate

This argument is not needed when you call function "readFluostarPlates". The number of rows depends upon the geometry of the plates. These are 16 in case of 384well paltes.

selectionkey

keyvalue on basis of which a plate is slected from a pair of plates read in double plate experiment.

doubleplateexperiment

This parameter can have TRUE & FALSE values only. It is set to TRUE when an experiment is read twice.

Value

A hashtable of picked plates.

Examples

Run this code
# NOT RUN {
f <- system.file("extdata", "optima.log", package="COMBIA")
fileDF <- readFile(filename = f, separator = "\t", noofrows_skip=0,
                   platetype = "384") 
Generatedbarcode <- Generatedbarcode <- extractKey(keyposition = 2,
    rawdata = fileDF, numberofrowsperplate = 17, doubleplateexperiment = TRUE) 
hashedplates <-  selectPlate(rawdata = fileDF,
    processedbarcode = Generatedbarcode, numberofrowsperplate=17,
    selectionkey="65000", doubleplateexperiment = TRUE  )
# }

Run the code above in your browser using DataLab