-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XCMS-fillChromPeaks: more options for the remaining NA #141
Comments
Efficient code from @jfrancoismartin Note:
|
Hum, for me, it's typically something that should be integrated to the xcms main package : https://github.com/sneumann/xcms |
hum hum...actually, xcms fillpeaks try to replace NA by a value in extracted from the raw MS file. It is an analytical replacement. If fillpeaks can't find a value then it becomes a statistical issue not in the field of xcms. And we can propose these kind of NA imputation which is more elegant than just 0 replacement. |
I guess that one of the purposes of xcms is to become an input for statistic analysis. What do you think about that @sneumann and @jorainer? My idea is to reduce the code in the wrapper. If it's not something that is interesting to add in XCMS, we should add this code in our future utils R package? |
Note, |
Hi there,
Here is a suggestion concerning XCMS step, on how to deal with NA that stay NA even after fillChromPeaks. Currently, we have the option to leave this NA as 'NA' or to convert them into '0'. The idea would be to provide a third choice that provide a controled random value instead of 0.
This random value provided to replace the NA could be define as an integer randomly selected between inf.range et sup.range where:
Note: since it is based on random, it is necessary to provide a "seed" option if needed by the user to obtain similar result if re-run.
@lecorguille do not hesitate to ask if this request is not clear!
Have a nice day,
@jfrancoismartin and @melpetera
The text was updated successfully, but these errors were encountered: