Open hubert-pop opened 5 months ago
Hello,
Thank you for bringing this issue to our attention. It seems the problem might be due to using 0 or 1 in your test cases, as the method employs logarithmic values, which can cause errors. We have added a check for this issue and have added some more changes to the method, which will be included in our next release.
We apologize for any inconvenience this may have caused. We are working to upload the corrections and changes to GitHub as soon as possible, so users can try installing the new package directly from there.
In the meantime, please try using other values and let me know if you continue to experience any issues.
Kind regards, Koyel
Hi,
Thanks Koyel for such a prompt reply and explanation. Perhaps there is something else here as even after replacing 0s and 1s with other values I keep having the issue.
For example, the methylation data as provided below do not avoid it.
# New methylation data v2 (0 --> 0.02 and 1 --> 0.98)
head_methylation_file$Benign_Patient_1 <- c(0.8, 0.98, 0.33, 0.80, 0.02, 0.875, 0.875, 0.94, 0.937, 0.85)
head_methylation_file$Benign_Patient_2 <- c(0.98, 0.98, 0.83, 0.83, 0.02, 0.875, 0.815, 0.98, 0.95, 0.92)
head_methylation_file$Tumour_Patient_1 <- c(0.98, 0.98, 0.98, 0.98, 0.02, 0.98, 0.929, 0.98, 0.952, 0.958)
head_methylation_file$Tumour_Patient_2 <- c(0.98, 0.98, 0.98, 0.98, 0.02, 0.98, 0.98, 0.98, 0.955, 0.967)
So far I can't see what's causing the problem, but maybe further testing will help.
Thanks again for your valuable help.
Hi,
Thanks for developing such a promising package !
I just started using it and I'm having an issue with the betaHMM function. When using methylation data other that those provided with the package, it seems I cannot pass some tests and I finally get an error. Here below is an example.
No problem with the above code. Things are however different if I provide random beta-values in the methylation data file, as follows for example.
Here I get the following issue.
Any idea of what I'm missing here to properly use the package ?
Thanks in advance for any insight !