Description Usage Arguments Examples
Computes the ROC curve for the panda result, allowing for plotting the against a gold standard. Optionally, allows the inclusion of another network for comparison
1 | validateNetwork(x, y, ...)
|
x |
An object of class "panda" or matrix |
y |
A gold standard dataset, a data.frame, matrix or exprSet containing 2 or 3 columns. Each row describes an motif associated with a transcription factor (column 1) a gene (column 2) and a score (column 3) for the gold standard score (0 or 1). If column 3 is not given, all rows will be assumed to be gold standard edges. |
... |
Options |
1 2 3 4 5 6 7 | data(pandaToyData)
pandaRes <- panda(pandaToyData$motif,
pandaToyData$expression,pandaToyData$ppi,hamming=.001,progress=TRUE)
gold <- melt(pandaRes@regNet)[sample(1000,200),]
gold[,3] <-1
roc <- validateNetwork(pandaRes,gold)
plot(roc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.