optimizedParameters | R Documentation |
Objects from this class contain optimization results resulting from design of experiment (DoE).
optimizedParameters(object, paramSet = NULL, DoEIteration = NULL)
optimizedObject(object, paramSet = NULL)
scores(object, paramSet = NULL, DoEIteration = NULL)
experimentInfo(object, paramSet, DoEIteration)
## S4 method for signature 'optimizationResult'
algorithm(obj)
## S4 method for signature 'optimizationResult'
length(x)
## S4 method for signature 'optimizationResult'
lengths(x, use.names = FALSE)
## S4 method for signature 'optimizationResult'
show(object)
## S4 method for signature 'optimizationResult,missing'
plot(
x,
paramSet,
DoEIteration,
paramsToPlot = NULL,
maxCols = NULL,
type = "contour",
image = TRUE,
contours = "colors",
...
)
## S4 method for signature 'optimizationResult'
optimizedParameters(object, paramSet = NULL, DoEIteration = NULL)
## S4 method for signature 'optimizationResult'
optimizedObject(object, paramSet = NULL)
## S4 method for signature 'optimizationResult'
scores(object, paramSet = NULL, DoEIteration = NULL)
## S4 method for signature 'optimizationResult'
experimentInfo(object, paramSet, DoEIteration)
paramSet |
Numeric index of the parameter set (i.e. the first
parameter set gets index ‘1’). For some methods optional: if
|
DoEIteration |
Numeric index specifying the DoE iteration within the
specified |
obj , x , object |
An |
use.names |
Ignored. |
paramsToPlot |
Which parameters relations should be plot. If |
maxCols |
Multiple parameter pairs are plotted in a grid. The maximum
number of columns can be set with this argument. Set to |
type |
The type of plots to be generated: |
image |
Passed to |
contours |
Passed to |
... |
Further arguments passed to |
Objects from this class are returned by optimizeFeatureFinding
and
optimizeFeatureGrouping
.
algorithm(optimizationResult)
: Returns the algorithm that was used for finding features.
length(optimizationResult)
: Obtain total number of experimental design iterations performed.
lengths(optimizationResult)
: Obtain number of experimental design iterations performed for each parameter set.
show(optimizationResult)
: Shows summary information for this object.
plot(x = optimizationResult, y = missing)
: Generates response plots for all or a selected
set of parameters.
optimizedParameters(optimizationResult)
: Returns parameter set yielding optimal
results. The paramSet
and DoEIteration
arguments can be
NULL
.
optimizedObject(optimizationResult)
: Returns the object (i.e. a
features
or featureGroups
object) that was
generated with optimized parameters. The paramSet
argument can be
NULL
.
scores(optimizationResult)
: Returns optimization scores. The
paramSet
and DoEIteration
arguments can be NULL
.
experimentInfo(optimizationResult)
: Returns a list
with optimization
information from an DoE iteration.
algorithm
A character specifying the algorithm that was optimized.
paramSets
A list
with detailed results from each parameter set
that was tested.
bestParamSet
Numeric index of the parameter set yielding the best response.
## Not run:
# ftOpt is an optimization object.
# plot contour of all parameter pairs from the first parameter set/iteration.
plot(ftOpt, paramSet = 1, DoEIteration = 1)
# as above, but only plot two parameter pairs
plot(ftOpt, paramSet = 1, DoEIteration = 1,
paramsToPlot = list(c("mzPPM", "chromFWHM"), c("chromFWHM", "chromSNR")))
# plot 3d perspective plots
plot(ftOpt, paramSet = 1, DoEIteration = 1, type = "persp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.