addVariableParameters: Search for and relax fixed coefficients of an MRAmodelSet to...

Description Usage Arguments Value Author(s)

View source: R/create_model.R

Description

See if an MRAmodelSet requires some coefficients to be variable among models to explain the variations

Usage

1
2
3
addVariableParameters(original_modelset, nb_cores = 0,
  max_iterations = 0, nb_samples = 100, accuracy = 0.95,
  method = "geneticlhs", notVariable = c())

Arguments

original_modelset

An MRAmodelSet object

nb_cores

Number of cores to use for the refitting with the new variable coefficients

max_iterations

Maximum number of variable parameters to add (if 0 takes as many as possible)

nb_samples

Number of samples to generate to fit the new variable parameters

accuracy

Cutoff probability for the chi^2 test

method

Name of the LHS method to use

notVariable

Coefficients that should not be varied, either a numeric or character vector identifying the coefficients from 'modelset$model$getParametersNames()$names', defaults to 'c()'.

Value

An updated MRAmodelSet with the new set of coefficients

Author(s)

Mathurin Dorel dorel@horus.ens.fr

Bertram Klinger bertram.klinger@charite.de


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