Skip to content
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

GetCorrelation for methylbaseDB does not accept methods other than 'pearson' #280

Open
alexg9010 opened this issue Apr 3, 2023 · 0 comments

Comments

@alexg9010
Copy link
Collaborator

Error:

library(methylKit)

?getCorrelation

data("methylKit")

mdb <- makeMethylDB(methylBase.obj)

lapply(c("pearson", "kendall", "spearman"), function(x) getCorrelation(methylBase.obj, method = x))
lapply(c("pearson", "kendall", "spearman"), function(x) getCorrelation(mdb, method = x))

Fix at

setMethod("getCorrelation", "methylBaseDB",
function(object,method,plot,nrow=2e6){
:

setMethod("getCorrelation", "methylBaseDB",
          function(object,method = c("pearson", "kendall", "spearman"),plot,nrow=2e6){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant