Use this function to extract template lists from '>templateScores
or '>detectionList
objects.
getTemplates(object, which.ones = names(object@templates))
The templateScores
or detectionList
object that contains the templates that are to be extracted.
Which templates should be included? A character vector of templates names, or an integer vector. Default is all templates.
A template list of class corTemplateList
or binTemplateList
.
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.
makeCorTemplate
,
makeBinTemplate
,
templateCutoff
,
templateComment