residualError: Compute the residual error for a dataset

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/residualError.R

Description

This function takes in a CNOlist and computes the residual error, which is the minimum error between the scaled continuous data and a binary boolean approximation of this data.

Usage

1

Arguments

CNOlist

a CNOlist

Details

Be aware that it is expected that $valueSignals[[1]] holds t0 (all signals=0) and $valueSignals[[2]] holds t1, $valueSignals[[3]] holds t2 and so on. The output is a list of residual errors at each time greater than 2. In addition, the total error is stored. For back compatibility, an additional field called t1andt2 is stored (NA is only t1 provided).

Value

a vector with named entries t1, t2, ...tn, t1andt2 and total. If only t1 is provided, t1andt2 is set to NA. The field t1andt2 may be removed in the future. Use the field called total instead.

Author(s)

C. Terfve, T. Cokelaer

See Also

makeCNOlist, normaliseCNOlist, getFit

Examples

1
2
data(CNOlistToy,package="CellNOptR")
resECNOlistToy<-residualError(CNOlistToy)

CellNOptR documentation built on Nov. 8, 2020, 6:58 p.m.