calculateSi: Calculates survival indices (S.Is) for a range of wells...

Description Usage Arguments Value Author(s) Examples

Description

Calculates survival indices (S.Is) for a range of wells (casewells). S.Is for a range of wells are calculated, that range is specified at the third place of wells argument list. This function call the rangemean function to calculate the mean of the range of the specified range. S.I is calculated by (Case well- meanofemptyrange/mean of controlwell- meanofemptyrange). In the wells argument one should provide arguments in the triplet form that is first one is control data range, second one is the empty data range while third one is the control range.

Usage

1
calculateSi(hashedplates, platekey, platetype, rowsperexperiment, wells)

Arguments

hashedplates

A hash table of picked plates. It is the output of function "selectPlate".

platekey

It is the key of the plate whose S.I is needed to be calculated.

platetype

It is the type of plate (386 and 96).

rowsperexperiment

It is the argument that specifies if the same experiment is reptead and how many times in a plate. If an experiment is repeated twice in adjacent rows then average of its values will be used in the SI calculation.

wells

This argument can take a list of arguments in the triplet form. Where first argument of triplet is the range of control wells, second argument is the range of empty wells while third one is the range of case wells. It is made so that in labs plates layouts can differ greatly. By using this triplet scheme one can handel a number of palte layouts.

Value

A matrix with S.I showing values where they are actually exist on the plate.

Author(s)

Muhammad Kashif

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
f <- system.file("extdata", "optima.log", package="COMBIA")
fileDF <- readFile(filename = f, separator = "\t", noofrows_skip=0,
                    platetype="384") 
Generatedbarcode <- extractKey(keyposition = 2,
                            rawdata = fileDF, numberofrowsperplate = 17, 
                            doubleplateexperiment=TRUE) 
hashedplates <-  selectPlate(rawdata = fileDF,
                            processedbarcode = Generatedbarcode, 
                            numberofrowsperplate = 17,
                            selectionkey = "65000", 
                            doubleplateexperiment = TRUE  )
survivalindeces <- calculateSi(hashedplates = hashedplates, 
                                platekey = "7051", platetype = "384",rowsperexperiment=1,
                                wells = c( "c8:h8","c1:n1","c3:c7",    "c8:h8","c1:n1","c9:c11", 
                                "c8:h8","c1:n1","e3:e7",     "c8:h8","c1:n1","e9:e11",
                                "c8:h8","c1:n1","g3:g7",     "c8:h8","c1:n1","g9:g11") 
                              )    

COMBIA documentation built on May 2, 2019, 7:23 a.m.

Related to calculateSi in COMBIA...