Skip to content
Snippets Groups Projects
Commit e1d52c94 authored by Treutler's avatar Treutler
Browse files

Merge branch 'master' of https://github.com/MassBank/RMassBank

parents f9ef3ef9 1fa6ed3c
No related branches found
No related tags found
No related merge requests found
Package: RMassBank
Type: Package
Title: Workflow to process tandem MS files and build MassBank records
Version: 1.99.11
Version: 2.3.1
Authors@R: c(
person(given = "RMassBank at Eawag", email = "massbank@eawag.ch",
role=c("cre")),
......
......@@ -399,7 +399,9 @@ findMsMsHRperxcms <- function(fileName, cpdID, mode="pH", findPeaksArgs = NULL,
return(P)
} else { # There is a file for every cpdID
spectra <- toRMB(unlist(findMsMsHRperxcms.direct(fileName, cpdID, mode=mode, findPeaksArgs = NULL, plots = FALSE, MSe = FALSE),FALSE))
spectra <- toRMB(
unlist(findMsMsHRperxcms.direct(fileName, cpdID, mode=mode, findPeaksArgs = NULL, plots = FALSE, MSe = FALSE),FALSE)
, cpdID, mode)
}
sp <- spectra
......
......@@ -294,7 +294,7 @@ CTS.externalIdTypes <- function(data)
}
.pubChemOnline <- function(){
baseURL <- "http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
baseURL <- "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
url <- paste(baseURL, "inchikey", "QEIXBXXKTUNWDK-UHFFFAOYSA-N", "description", "json", sep="/")
errorvar <- 0
......@@ -318,7 +318,7 @@ CTS.externalIdTypes <- function(data)
getPcCHEBI <- function(query, from = "inchikey")
{
# Get the JSON-Data from Pubchem
baseURL <- "http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
baseURL <- "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
url <- paste(baseURL, from, query, "synonyms", "json", sep="/")
errorvar <- 0
currEnvir <- environment()
......@@ -403,7 +403,7 @@ getCSID <- function(query)
getPcSynonym <- function (query, from = "inchikey")
{
# Get the JSON-Data from Pubchem
baseURL <- "http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
baseURL <- "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
url <- paste(baseURL, from, query, "description", "json", sep="/")
errorvar <- 0
......@@ -445,7 +445,7 @@ getPcSynonym <- function (query, from = "inchikey")
getPcIUPAC <- function (query, from = "inchikey")
{
# Get the JSON-Data from Pubchem
baseURL <- "http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
baseURL <- "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
url <- paste(baseURL, from, query, "record", "json", sep="/")
errorvar <- 0
......@@ -491,7 +491,7 @@ getPcIUPAC <- function (query, from = "inchikey")
getPcInchiKey <- function(query, from = "smiles"){
# Get the JSON-Data from Pubchem
baseURL <- "http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
baseURL <- "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
url <- paste(baseURL, from, query, "record", "json", sep="/")
errorvar <- 0
currEnvir <- environment()
......@@ -524,7 +524,7 @@ getPcInchiKey <- function(query, from = "smiles"){
}
getPcSDF <- function(query, from = "smiles"){
baseURL <- "http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
baseURL <- "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound"
url <- paste(baseURL, from, query, "sdf", sep="/")
errorvar <- 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment