Comments (4)
OnDiskMSnExp
: this object might replace the xcmsRaw
object. It combines all raw data from a whole MS experiment (reading the data on-demand from the disk). The data itself is organized in spectra, one spectrum for each scan/retention time. Extraction of spectra data is thus straight forward. Extraction of chromatogram data might be more complicated (time consuming).
Some notes:
- Use a
as.matrix
oras.data.frame
method on theSpectrum1
classes to get the M/Z - intensity value pairs from each scan in one call,cbind
that data and pass it to the low leveldo_
low level methods. getEIC
or similar methods: is there something available forMSnExp
/OnDiskMSnExp
?
from xcms.
just want to chime in on this…
Over the years xcms has had many functions removed from it sometimes even becoming whole packages themselves, mzR is one example. I would feel that unless OnDiskMSnExp from msnBase has huge benefits over xcmsRaw in terms of reading data faster, compressing on storage etc that we stick with xcmsRaw. Many developer use this structure in their packages both public and private. I think we want to avoid xcms becoming a wrapper of mzR and msnBase.
Also happy to lend a hand in xcms3 re-write if I can be of any help, just let me know.
On Jul 27, 2016, at 11:31 AM, Johannes Rainer [email protected] wrote:
OnDiskMSnExp: this object might replace the xcmsRaw object. It combines all raw data from a whole MS experiment (reading the data on-demand from the disk). The data itself is organized in spectra, one spectrum for each scan/retention time. Extraction of spectra data is thus straight forward. Extraction of chromatogram data might be more complicated (time consuming).
Some notes:
Use a as.matrix or as.data.frame method on the Spectrum1 classes to get the M/Z - intensity value pairs from each scan in one call, cbind that data and pass it to the low level do_ low level methods.
getEIC or similar methods: is there something available for MSnExp/OnDiskMSnExp?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #41 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ACJZDNL-K0WLYsgGFbU9uEJMHxQAyUDlks5qZ6QWgaJpZM4JWfEu.
from xcms.
Dear Paul I really appreciate discussions on this! There are no plans to remove xcmsRaw
immediately.
For me the obvious advantage of OnDiskMSnExp
would be in the following use-case:
- Features are identified (we have an
xcmsSet
) and we want to get the EIC for these across multiple samples. Currently we would call e.g.getEIC
, which will then however read the whole raw data from each file. With theOnDiskMSnExp
on the other side, only the required data will be extracted from the raw files. So there will be a huge performance gain here. Also, theOnDiskMSnExp
class keeps track of any data manipulations that have been performed (also such as baseline correction etc).
from xcms.
Using the OnDiskMSnExp
object in xcms
as a container for the raw data and the XCMSnExp
(defined inxcms
and extending the OnDiskMSnExp
) has proven to be useful. Biggest advantages are the direct link to the raw data, all already implemented and reusable subsetting and filter methods.
from xcms.
Related Issues (20)
- Problem with fillChromPeaks HOT 19
- upcoming change in rgl will break xcms HOT 3
- worker failed with the error: wrong args for environment subassignment (xcMSnExp obj) HOT 2
- Question about Warning: replacing previous import HOT 2
- Unable to find an inherited method for function ‘clean’ for signature ‘"Spectra"’ HOT 2
- Dataset Error Report HOT 5
- About spectra simplify HOT 4
- Cannot read mzdata.xml file HOT 3
- findChromPeaks returns duplicate peaks HOT 6
- adjustRtime() Error HOT 8
- Centwave error with converted .wiff files. HOT 1
- Error Invalid cvParam accession "1003293" HOT 1
- Handling multtest dependency (BioC build error) HOT 3
- Two overlapping peaks with the same m/z detected as one HOT 2
- Does minSamples override minFraction when grouping? HOT 2
- ERROR: Dimensions of profile matrices do not match ! HOT 1
- Why does fill peaks with XCMSnExp object result in considerably less features than fill peaks with XCMSset? HOT 6
- How are features obtained if you don’t specify any class information for grouping? HOT 1
- Add XCMS object as data to EDAM Ontology HOT 4
- Introduce a changelog HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcms.