-
Notifications
You must be signed in to change notification settings - Fork 17
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
Discrepancy in irlba with center argument #22
Comments
Thanks, the integer issue above was fixed in 4d0cc15 but has not yet made it to CRAN. |
The centering problem is definitely a bug. Working on that, PR welcome if you have ideas! Probably related to #21 it's a good example, thanks! |
While you're working on this, do you have any idea as to which result is the correct one (i.e., with or without |
Don't use center=TRUE for now, I am revising that code.
…On 9/18/17, Aaron Lun ***@***.***> wrote:
While you're working on this, do you have any idea as to which result is the
correct one (i.e., with or without `center=`)? I can adjust my code
accordingly in the meantime.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#22 (comment)
|
Sorry for the long latency. Should be fixed now. I am still making some other changes but expect to ready a CRAN submission later this week. |
Just tested the latest version on Github; works beautifully. Any progress on the CRAN submission? |
almost there, just finished package update and reverse dependency checks on Linux. Awaiting Windows check results, then will submit later today... arrrgh. of course getting a test failure on WIndows (specifically, Windows R-development, i386 only). Need to fix that first. |
Package failure on Windows... typical. Sigh. Good luck! |
My package (scran) seems to build well with the latest version of irlba, so I'm closing this. Thanks! |
irlba
seems to behave inconsistently depending on whether column-centring is performed explicitly or viacenter
. To demonstrate, I've mocked up some single-cell RNA-seq data:If I apply
irlba
on the transposed matrix (i.e., genes are now columns, cells are rows) with explicit centring outside the function or viacenter
, I get substantially different results:I might have expected some small differences due to vagaries of random initialization or numerical precision, but these differences in the singular values seem to be rather large. On a related note, running the following code in a fresh R session results in a segfault ("memory not mapped"):
Presumably, it's something to do with the integer nature of
counts
, as coercion to double-precision avoids the problem. Anyway, here's my session information:The text was updated successfully, but these errors were encountered: