Description Creating Objects Slots Methods Author(s) See Also Examples
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.
new("ROC")
ROC(object, positives, negatives)
with object
being an
cellHTS
instance.
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.
show
Print a summary of the object.
plot
Plot the ROC curve corresponding to the object.
lines
Line plot of the ROC object.
Ligia Bras ligia@ebi.ac.uk, Wolfgang Huber huber@ebi.ac.uk
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.