getTemplates {monitoR} | R Documentation |
Extract a Template List
Description
Use this function to extract template lists from templateScores
or detectionList
objects.
Usage
getTemplates(object, which.ones = names(object@templates))
Arguments
object |
The |
which.ones |
Which templates should be included? A character vector of templates names, or an integer vector. Default is all templates. |
Details
This function would typically be used to extract and save a complete set of templates from a detectionList
object if templateCutoff
has been used to modify the template list after scores were calculated.
getTemplates
could also be used to extract a subset of templates present in a template list, but indexing with square brackets is an easier approach.
Value
A template list of class corTemplateList
or binTemplateList
.
Author(s)
Sasha D. Hafner
See Also
makeCorTemplate
,
makeBinTemplate
,
templateCutoff
,
templateComment