modelExtractParam {tigre} | R Documentation |
Extract parameters from the model into a vector of parameters for optimisation.
modelExtractParam(model, only.values=TRUE, untransformed.values=FALSE)
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. |
param |
vector of parameters extracted from the model. |
# 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)