MzQCqualityMetric | R Documentation |
The central class to store QC information
The central class to store QC information
accession
Accession number identifying the term within its controlled vocabulary.
name
Name of the controlled vocabulary element describing the metric.
description
(optional) Definition of the controlled vocabulary term.
value
(optional) Value of the metric (single value, n-tuple, table, matrix).
The structure is not checked by our mzQC implementation and must be handled by the caller, see toQCMetric
.
unit
(optional) Array of unit(s), stored as MzQcvParameter
new()
Constructor
MzQCqualityMetric$new( accession = NA_character_, name = NA_character_, description = NA_character_, value = NA, unit = list() )
accession
String value for initialization of field accession
name
String value for initialization of field name
description
Optional string value for initialization of field description
value
Optional value for initialization of field value
unit
Optional unit value for initialization of field unit
isValid()
Verifies validity of the object
MzQCqualityMetric$isValid(context = "MzQCqualityMetric")
context
Optional string describing location in mzQC structure that is used for more informative warning texts.
toJSON()
Creates JSON file from this object.
MzQCqualityMetric$toJSON(...)
...
Optional parameters for jsonlite:::asJSON()
fromData()
Sets data for this object from plain named lists of R objects
MzQCqualityMetric$fromData(data, context = "MzQCqualityMetric")
data
A datastructure of R lists/arrays as obtained by 'jsonlite::fromJSON()'
context
Optional string describing location in mzQC structure that is used for more informative warning texts.
clone()
The objects of this class are cloneable with this method.
MzQCqualityMetric$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.