ben-laufer / DMRichR

A R package and executable for the preprocessing, statistical analysis, and downstream testing and visualization of differentially methylated regions (DMRs) from CpG count matrices (Bismark cytosine reports)
https://www.benlaufer.com/DMRichR/
MIT License
38 stars 22 forks source link

Machine learning logical input error #85

Open QvickA opened 2 months ago

QvickA commented 2 months ago

Thanks for a great package with a lot of content!

I am experiencing some problems with the machine learning part. Both RF and SVM works and DMRs are selected as features. But when the results are to be combined this error message turns up: Error: unable to find an inherited method for function 'metadata' for signature 'x = "logical"' I have tested that the metadata in bs.filtered.bsseq is a list and that there are no logical values in bs.filtered.bsseq. Have you encountered this error before? The rest of the pipeline seems to be working fine. I use CpG reports from Bismark as input and have tried running it both on Windows and Unix.

I highly appreciate all help so that I might be able to include this in my upcoming dissertation. Best, Alvida