assayData of a cellHTS object.
Current available options are to take the z-score value or the per-replicate normalized percent inhibition (NPI). Data are stored in slot assayData overridding its current content.scoreReplicates(object, sign="+", method="zscore", ...)cellHTS that has already been normalized.+1 or -1, respectively, after applying the scoring method specified by argument method. See details.method.cellHTS object with its slot assayData replaced with the scored values (same dimension). Important: Note that the processing state "scored" of the cellHTS object is only updated to TRUE
after summarizing the replicates, which is the next preprocessing step (see summarizeReplicates).
assayData of object.
Current availabe scoring methods are:
method="none", no scoring is applied.method="zscore"(robustz-scores), for each replicate, this is calculated by subtracting the overall median from each measurement and dividing the result by the overallmad. These are estimated for each replicate by considering the distribution of intensities (over all plates) in the wells whose content is annotated assample.method="NPI"(normalized percent inhibition applied in a per-replicate basis, i.e. using the overall mean of positive and negative controls across all plates of a given replicate), for each replicate, this method consists of subtracting each measurement from the average of the intensities on the positive controls (taken across all plates), and this result is then divided by the difference between the averages of the measurements on the positive and the negative controls (taken across all plates). If this method is chosen, one may need to provide further arguments toscoreReplicates, namely, argumentsposControlsandnegControls. These arguments should be vectors of regular expression patterns specifying the name of the positive(s) and negative(s) controls, respectivey, as provided in the plate configuration file. The length of these vectors should match the current number of channels inobject(i.e.dim(Data(object))[3]). By default, ifposControlsornegControlsare not given,posandnegwill be taken as the name for the wells containing positive or negative controls. The content ofposControlsandnegControlsis passed toregexprfor pattern matching within the well annotation given in thefeatureDataslot ofobject(which can be accessed viawellAnno(object)) (see examples forsummarizeChannels). After replicate scoring using the chosen method, the value given in sign ("+" or "-") is used to set the sign of the calculated scores.
For example, with a sign="-", a strong decrease in the signal will be represented
by a positive score, whereas setting sign="+", such a phenotype will be represented by a negative score. This option can be set to calculate the results to the commonly used convention.
normalizePlates,
summarizeChannels,
summarizeReplicates.data(KcViabSmall)
x <- normalizePlates(KcViabSmall, scale="multiplicative", method="median", varianceAdjust="none")
x <- scoreReplicates(x, sign="-", method="zscore")
x <- summarizeReplicates(x, summary="min") # conservative approachRun the code above in your browser using DataLab