Nothing
PeakML.Methods.mzML.startTimeStamp <- function(filename){
# Binary file like cdf format, can't be parsed by XML.
tryCatch(mzMLtree <- xmlParse(filename),
error= function(e) {cat ("Measurement date and time information can be extracted only from mzML data files. \n")
mzMLtree <- NULL}
)
if (!is.null(mzMLtree))
{
#x reffers there to the default namespace of the document
startTimeStamp <- unlist(getNodeSet(xmlRoot(mzMLtree), "//x:run/@startTimeStamp", "x"))
startTimeStamp <- sub ("T"," ",startTimeStamp)
rm (mzMLtree)
gc ()
} else
{
startTimeStamp <- NA
}
if (length(startTimeStamp)==0)
{
# mzXML is XML file (so will be parsed by xmlParse), but does not contain time stamp.
cat ("Measurement date and time information can be extracted only from mzML data files. \n")
startTimeStamp <- NA
}
startTimeStamp
}
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.