-
Notifications
You must be signed in to change notification settings - Fork 5
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
kbb non-positive #1
Comments
This error is saying that the multivariate normal precision was somehow estimated to be zero, or negative (!). Can you provide a reprex, or at least backtrace? |
I see, here is the call trace that was reported: They are TPM, I will try a log transform and see if that helps. |
I will see about trapping this error and continue fitting, but I definitely don't recommend trying to fit it to regular TPM, as these are probably way too skewed. The data need to be Gaussian-like. Check out the vignette, there are some plotting methods you can use to check your data: What are the 22 warnings? |
Did log-transforming fix the error? |
Sorry, I'm not too familiar with R so I don't know how to retroactively look at the warnings. However, we tried a square root transform (which we used on all of our other data) and the error still appeared. We may try to convert the TPM to raw counts and then transform it. But since HurdleNormal is able to run on every other dataset, I think it's just a problem on our end. |
I have been able to run this algorithm on datasets that have been normalized and sqrt transformed, however when running it on direct RSEM values I get the error "kbb non-positive" and an exit. I'm not sure if this is the root cause but I don't exactly understand the error message, any reason why this might be arising in an RSEM dataset?
The text was updated successfully, but these errors were encountered: