CompareHypothesis {CausalR} | R Documentation |
Compare the predictions from a hypothesis with the experimental data returning an matrix with columns for node ID, predictions, experimental results and the corresponding scores.
CompareHypothesis(matrixOfPredictions, matrixOfExperimentalData, ccg = NULL, sourceNode = NULL)
matrixOfPredictions |
a matrix of predictions |
matrixOfExperimentalData |
a matrix of experimental data |
ccg |
a CCG network (default=NULL) |
sourceNode |
A starting node (default=NULL) |
a matrix containing predictions, observations and scores.
predictions <- matrix(c(1,2,3,+1,0,-1),ncol=2) experimentalData <- matrix(c(1,2,4,+1,+1,-1),ncol=2) ScoreHypothesis(predictions,experimentalData) CompareHypothesis(predictions,experimentalData)