Learn R Programming

PTXQC (version 1.0.11)

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

Description

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

Usage

getQualityMetricTemplate(
  accession,
  mzcv_dict = CVDictionarySingleton$new()$data
)

Arguments

accession

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

mzcv_dict

A CV dictionary, as obtained by getCVDictionary(); defaults to a singleton, which needs to be filled manually beforehand

Value

An instance of MzQCqualityMetric