CompareHypothesis: compare hypothesis

Description Usage Arguments Value Examples

View source: R/CompareHypothesis.r

Description

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.

Usage

1
2
CompareHypothesis(matrixOfPredictions, matrixOfExperimentalData, ccg = NULL,
  sourceNode = NULL)

Arguments

matrixOfPredictions

a matrix of predictions

matrixOfExperimentalData

a matrix of experimental data

ccg

a CCG network (default=NULL)

sourceNode

A starting node (default=NULL)

Value

a matrix containing predictions, observations and scores.

Examples

1
2
3
4
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)

CausalR documentation built on Nov. 8, 2020, 5:25 p.m.