methylKit
methylKit copied to clipboard
Coerce dataframe into methylBase object
I have a dataframe that was extracted from a methylBase object using getData()
- it retains the same columns as a methylBase object - I'd now like to convert it back to a methylBase object to use in other MethylKit analyses (e.g. `percMethylation, calculateDiffMeth). Is there a way to do this?
you have to recreate the S4 object that contains the data frame and other required elements properly then you can use it on downstream analysis. https://github.com/al2na/methylKit/blob/master/R/backbone.R#L1449
On Thu, Aug 19, 2021 at 12:22 AM Laura H Spencer @.***> wrote:
I have a dataframe that was extracted from a methylBase object using getData() - it retains the same columns as a methylBase object - I'd now like to convert it back to a methylBase object to use in other MethylKit analyses (e.g. `percMethylation, calculateDiffMeth). Is there a way to do this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/al2na/methylKit/issues/233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE32EI576RINDNAKV5BALTT5QXBJANCNFSM5CM6TMEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .