Description Usage Arguments Details Value Author(s) Examples
The function ROC
construct an object of S3 class ROC
,
which represents a receiver-operator-characteristic curve,
from the data of the annotated positive and negative controls in a
scored cellHTS
object.
1 2 3 4 5 |
x |
a |
positives |
a list or vector of regular expressions specifying the name of the positive controls.
See the details for the argument |
negatives |
a vector of regular expressions specifying the name of the negative controls.
See the details for the argument |
col |
the graphical parameter for color; see |
type |
the graphical parameter giving the type of plot desired; see |
main |
the graphical parameter giving the desired title of plot; see |
... |
other graphical parameters as in |
The cellHTS
object x
must contain a slot called score
,
and selection proceeds from large to small values of this score.
Furthermore, x
is expected to contain positive and negative
controls annotated in the slot wellAnno
with the values of
the arguments positives
and negatives
, respectively.
If the assay is a two-way experiment, positives
should be a list with components act
and inh
, specifying the name of the activators, and inhibitors, respectively. In this case, the ROC cureve is constructed based on the absolute values of x$score
.
An S3 object of class ROC
. There are methods
plot.ROC
and lines.ROC
.
Ligia P. Bras ligia@ebi.ac.uk
1 2 3 4 5 6 7 8 9 | data(KcViabSmall)
## Not run:
x <- normalizePlates(KcViabSmall, normalizationMethod="median", zscore="-")
x <- summarizeReplicates(x)
y <- ROC(x)
plot(y)
lines(y)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.