modelExtractParam: Extract the parameters of a model.

Description Usage Arguments Value See Also Examples

Description

Extract parameters from the model into a vector of parameters for optimisation.

Usage

1
  modelExtractParam(model, only.values=TRUE, untransformed.values=FALSE)

Arguments

model

the model structure containing the parameters to be extracted.

only.values

include parameter names in the returned vector.

untransformed.values

return actual values, not transformed values used by the optimisers.

Value

param

vector of parameters extracted from the model.

See Also

modelExpandParam

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
  # Load a mmgmos preprocessed fragment of the Drosophila developmental
  # time series
  data(drosophila_gpsim_fragment)

  # The probe identifier for TF 'twi'
  twi <- "143396_at"
  # The probe identifier for the target gene
  targetProbe <- "152715_at"

  # Create the model, but do not optimise
  model <- GPLearn(drosophila_gpsim_fragment,
                   TF=twi, targets=targetProbe,
                   useGpdisim=TRUE, quiet=TRUE,
                   dontOptimise=TRUE)

  # Get the initial parameter values
  params <- modelExtractParam(model, only.values=FALSE)

tigre documentation built on Nov. 8, 2020, 5:32 p.m.