Entering edit mode
Hey,
I tried to work on XCMS2. With the same script below xcms was working well. Now when I try to work on it, it gives me following error. Can anyone help me to troubleshoot the problem.
> source("http://bioconductor.org/biocLite.R")
Bioconductor version 3.2 (BiocInstaller 1.20.1), ?biocLite for help
> library(xcms)
> library(mzR)
> library(msdata)
> setwd("C://Users/Manoj/Desktop/trial_xcms/")
> list.files()
[1] "data_processing_XCMS.txt" "global_positive_Batch2_E67.mzXML"
> mzdatafile <- list.files(pattern="global_positive_Batch2_E67.mzXML", recursive=TRUE, full.names=TRUE)
> xraw <- xcmsRaw(mzdatafiles[2], includeMSn + TRUE)
Error in xcmsSource(filename) :
error in evaluating the argument 'object' in selecting a method for function 'xcmsSource': Error: object 'mzdatafiles' not found
>
Thank you.
