Learn R Programming

PTXQC (version 1.0.14)

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
)

Value

An instance of MzQCqualityMetric

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