methylKit
methylKit copied to clipboard
How to merge when reading multiple files using readMethylDB?
How to merge when reading multiple files using readMethylDB?
myobj <- lapply(files, function (x){readMethylDB(x)}) meth <- unite(myobj, destrand = FALSE)
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘unite’ for signature ‘"list"’
Hi,
You have to convert the list
into the appropriate type using the
methylRawList
function.
Best, Alex
Sent from mobile.
coffeeCow @.***> schrieb am So., 21. Aug. 2022, 02:22:
How to merge when reading multiple files using readMethylDB?
myobj <- lapply(files, function (x){readMethylDB(x)}) meth <- unite(myobj, destrand = FALSE)
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘unite’ for signature ‘"list"’
— Reply to this email directly, view it on GitHub https://github.com/al2na/methylKit/issues/263, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADK7JDYDUSCEMB4O4IB4ULDV2FZDDANCNFSM57EAWJ5A . You are receiving this because you are subscribed to this thread.Message ID: @.***>