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

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.147/psi-ms.obo' ...
#> Reference class object of class "MzQCanalysisSoftware"
#> Field "accession":
#> [1] "MS:1003162"
#> Field "name":
#> [1] "PTX-QC"
#> Field "version":
#> [1] "1.0.12"
#> Field "uri":
#> [1] "https://github.com/cbielow/PTXQC/"
#> Field "description":
#> [1] "\"Proteomics (PTX) - QualityControl (QC) software for QC report generation and visualization.\" [DOI:10.1021/acs.jproteome.5b00780, PMID:26653327, https://github.com/cbielow/PTXQC/]"
#> Field "value":
#> [1] NA