#Here we will evaluate the fit of the full initial model,
#without pre-processing or any optimisation
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
indicesToy<-indexFinder(CNOlistToy,ToyModel,verbose=FALSE)
ToyFields4Sim<-prep4sim(ToyModel)
simResults<-simulatorT1(
CNOlist=CNOlistToy,
model=ToyModel,
simList=ToyFields4Sim,
indexList=indicesToy)
simResults = simResults[, indicesToy$signals]
Score<-getFit(
simResults=simResults,
CNOlist=CNOlistToy,
model=ToyModel,
timePoint="t1",
nInTot=length(which(ToyModel$interMat == -1))
)
Run the code above in your browser using DataLab