getQualityMetricTemplate: Fills a MzQCqualityMetric object with id(accession) and name....

View source: R/mzQC.R

getQualityMetricTemplateR Documentation

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


PTXQC documentation built on Sept. 21, 2022, 9:10 a.m.