Fills a MzQCqualityMetric object with id(accession) and name. The value (if any) and unit (if any) need to be set afterwards.

getQualityMetricTemplate(accession, CV = getCVSingleton())

Arguments

accession

The ID (=accession) of the term in the CV

CV

A CV dictionary, as obtained by getCVDictionary(); defaults to the global singleton, which is populated automatically

Value

An instance of MzQCqualityMetric