Class that contain data that can be plotted as a ROC curve.

Description

Container for data that represent a receiver-operator-characteristic curve, and that were generated from the data of the annotated positive and negative controls in a scored cellHTS object.

Creating Objects

new("ROC")

ROC(object, positives, negatives) with object being an cellHTS instance.

Slots

name:

a character of length 1 with the name of the experiment from which the ROC object derives.

assayType:

a character of length 1 with the type of screenning assay. Possible values are: "one-way assay" and "two-way assay".

TP:

a vector of integers of length 1000.

FP:

a vector of integers of length 1000.

posNames:

a character vector with the name of the positive controls.

negNames:

a character vector with the name of the negative controls.

Methods

show

Print a summary of the object.

plot

Plot the ROC curve corresponding to the object.

lines

Line plot of the ROC object.

Author(s)

Ligia Bras ligia@ebi.ac.uk, Wolfgang Huber huber@ebi.ac.uk

See Also

ROC

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
    showClass("ROC")
    showMethods(class="ROC")
  
    ## Not run: 
    data(KcViabSmall)
    x <- normalizePlates(KcViabSmall, scale="multiplicative", log=FALSE, method="median", varianceAdjust="none")
    x <- scoreReplicates(x, sign="-", method="zscore")
    x <- summarizeReplicates(x, summary="mean")
    y <- ROC(x)
    plot(y)
    lines(y, col="green")
    show(y)
    
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.