Nothing
## The injection time is now calculated in mzR and this function is
## not used anymore. Keeping it for now.
injectionTimeFromFile1 <- function(f) { ## in milliseconds
xvals <- vector("list", length = length(f))
doc <- XML::xmlInternalTreeParse(f)
namespaceDef <- XML::getDefaultNamespace(doc)
if (length(namespaceDef) == 0)
return(NA)
ns <- c(x = namespaceDef[[1]]$uri)
x <- XML::xpathApply(doc, "//x:cvParam[@accession = 'MS:1000927']",
namespaces = ns, xmlAttrs)
xvals <- sapply(x, "[", "value")
as.numeric(unlist(xvals))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.