Description Usage Arguments Value Examples
View source: R/DREAM_Evaluation.R
This function allows you to evaluate a GRN inference against golden standard (GS).
1 | DREAM_Evaluation(gold_positives, prediction_raw)
|
gold_positives |
matrix with three columns that contains the GS in the form of edgelist. |
predict_raw |
matrix with three columns that contains the inferred GRN in the form of edgelist |
list containing the metrics [TPR FPR PREC REC L AUROC AUPR] TPR: vector with True Positive Ratio FPR: vector with False Positive Ratio PREC: vector with Precision REC: vector with Recall L: prediction list length AUROC: area under ROC AUPR: area under PR
1 2 3 4 5 6 7 8 | net <- matrix(rnorm(100),10,10)
GS <- matrix(rnorm(100),10,10)
GS[which(GS>0.5)]<-1
GS[GS!=1] <- 0
diag(GS) <- 0
net <- change_network_format(net)
GS <- change_network_format(GS)
Ev <- DREAM_Evaluation(GS,net)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.