The accession must be valid (or allow_unknown_id must be TRUE)
getQualityMetricTemplate(
accession,
CV = getCVSingleton(),
allow_unknown_id = FALSE
)An instance of MzQCqualityMetric
The ID (=accession) of the term in the CV
A CV dictionary, as obtained by getCVDictionary(); defaults to the global singleton, which is populated automatically
Allows invalid accession; if 'FALSE' this function errors if accession is unknown