computeFitScore: Compute the fitting scores of a model

Description Usage Arguments Value

View source: R/mra_model.R

Description

Compute 2 fitting scores for the model, the fraction of the variation in the data explained by the network, and the improvement compared to a model with no links Do the computation for each measured node and for the network

Usage

1
computeFitScore(mra_model, refit_model = FALSE, with_offset = TRUE)

Arguments

mra_model

The MRAmodel object for which the score should be computed

refit_model

Whether the model should be refitted before computing the scores (using the 'mra_model$parameters' as the initial value)

Value

A MRAmodel object with the scores in the fields 'Rscores' and 'bestfitscore'


molsysbio/STASNet documentation built on May 29, 2019, 5:45 a.m.