Does OnDiskMSnExp rewrite original data
1
0
Entering edit mode
goh • 0
@goh-16989
Last seen 6.2 years ago

Hi,

I'm currently using the new xcms function which executes the following command

raw_data <- readMSData(files = cdfs, pdata = new("NAnnotatedDataFrame", pd), mode = "onDisk") 

 

The command uses OnDiskMSnExp object from MSnbase Bioconductor package. May i know if i made any changes such as retention time alignment using the following command

xdata <- adjustRtime(xdata, param = ObiwarpParam(binSize = 0.6)) 

Does it overwrites my original files ? or it juz creates a new data in Rstudio environment?

Thank you.

Goh. 

 

xcms msnbase ondiskmsnexp • 1.1k views
ADD COMMENT
3
Entering edit mode
@laurent-gatto-5645
Last seen 26 days ago
Belgium

Hi Goh,

No, your original data isn't modified at all. The only way to modify raw data on disk is to write it explicitly to a file using writeMSData. Note however that in your example, the raw data object raw_data, once created, isn't modified at all, as you use xdata to adjust retention time - probably only a result of copy/pasting parts of a longer script.

ADD COMMENT

Login before adding your answer.

Traffic: 607 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6