getQualityMetricTemplate {rmzqc} | R Documentation |
Fills a MzQCqualityMetric object with id(accession) and name. The value (if any) and unit (if any) need to be set afterwards.
Description
The accession must be valid (or allow_unknown_id must be TRUE)
Usage
getQualityMetricTemplate(
accession,
CV = getCVSingleton(),
allow_unknown_id = FALSE
)
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 |
allow_unknown_id |
Allows invalid accession; if 'FALSE' this function errors if accession is unknown |
Value
An instance of MzQCqualityMetric
[Package rmzqc version 0.7.0 Index]