Skip to contents

From an ID, e.g. "MS:1003162" (for PTX-QC), and some additional information, create an 'analysisSoftware' node for mzQC

Usage

toAnalysisSoftware(id, version = "unknown", uri = NULL, value = NA_character_)

Arguments

id

The CV accession

version

The version of the tool which created the metric/mzQC

uri

URI to the homepage, or if NULL (default), will be extracted from the definition in the PSI MS-CV (if possible)

value

An optional name for the software (if different from the CV's name)

Value

An MzQCanalysisSoftware object

Examples

 # use 'version = packageVersion("PTXQC")' if the package is installed
 toAnalysisSoftware(id = "MS:1003162", version = "1.0.12")
#> Downloading obo from 'https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.195/psi-ms.obo' ...
#> <MzQCanalysisSoftware>
#>   Public:
#>     accession: MS:1003162
#>     clone: function (deep = FALSE) 
#>     description: "Proteomics (PTX) - QualityControl (QC) software for QC  ...
#>     fromData: function (data, context = "MzQCanalysisSoftware") 
#>     initialize: function (accession = NA_character_, name = NA_character_, version = NA_character_, 
#>     isValid: function (context = "MzQCanalysisSoftware") 
#>     name: PTX-QC
#>     self: MzQCanalysisSoftware, R6
#>     toJSON: function (...) 
#>     uri: https://github.com/cbielow/PTXQC/
#>     value: NA
#>     version: 1.0.12