Description Usage Arguments Details Value Author(s) Examples
The function ROC
construct an object of S4 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 6 |
object |
a |
positives |
a list or vector of regular expressions specifying the name of the positive control(s).
See the details for the argument |
negatives |
a vector of regular expressions specifying the name of the negative control(s).
See the details for the argument |
x |
a |
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 object
must be already scored (state(object)["scored"]=TRUE
),
and selection proceeds from large to small values of this single per-probe score.
Furthermore, object
is expected to contain positive and negative
controls annotated in the column controlStatus
of the featureData
slot - which can be accessed via wellAnno(object)
. The arguments positives
and negatives
should be given as regular expression patterns specifying the name of the positive(s) and negative(s) controls, respectivey.
By default, if positives
is not given, pos will be taken as the name for the wells containing positive controls. Similarly, if negatives
is missing, by default neg will be considered as the name used to annotate the negative controls.
The content of posControls
and negControls
are passed to regexpr
for pattern matching within the well annotation (see examples for summarizeChannels
).
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 curve is constructed based on the absolute values of Data(object)
.
An S4 object of class ROC
. There are methods show
,
plot
and lines
.
Ligia P. Bras ligia@ebi.ac.uk
1 2 3 4 5 6 7 8 | data(KcViabSmall)
x <- normalizePlates(KcViabSmall, scale="multiplicative", log=FALSE, method="median", varianceAdjust="byExperiment")
x <- scoreReplicates(x, sign="-", method="zscore")
x <- summarizeReplicates(x, summary="mean")
y <- ROC(x)
plot(y)
lines(y, col="green")
show(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.