-
Notifications
You must be signed in to change notification settings - Fork 80
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
Bug fix: groupval() failing on object converted from XCMSnExp. Issue 471 #476
Conversation
Hi @andzajan , the fix is now in the current master branch (and the RELEASE_3_11 branch). Could you please check if this fixes also your problem? I guess you know how to install, in case you don't: ## in case you're on Windows paste also the first line:
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")
devtools::install_github("sneumann/xcms") |
Hi @jorainer, unfotunately it's still broken. If I run a test I made in this PR, the It's probably small fix, do you want me to have a look into it?
|
And it's related to the
There probably is neater fix than this: https://github.com/andzajan/xcms/blob/master/R/methods-xcmsSet.R#L449-L453
|
Thanks for the suggested fix. I did now introduce a fix upstream, directly in the function to convert the Could you please confirm that this works for you? You would have to install the jomaster branch as I would like to let the unit test finish before merging.
|
Hi @jorainer, I can confirm that all is working as expected now. Thank you for a fast response! The only difference is that converted
|
If you're OK with it, could you please close the pull request @andzajan ? |
Hi, this is proposed fix for #471.
Lines 450 - 453 (https://github.com/andzajan/xcms/blob/master/R/methods-xcmsSet.R#L450-L453) are needed in case if 'phenoData' information is lost during
xset <- as(xset, "xcmsSet")
.Ping @RJMW, @Tomnl.