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

Error in setnames(scoreTable, c("Var1", "Var2", "value"), c("userSet", : Items of 'old' not found in column names: Var1,Var2 #17

Closed
dingailuma opened this issue May 30, 2017 · 3 comments

Comments

@dingailuma
Copy link

Hi,
Does anyone know why this error appears when I run the example code in LOLA website:

library("LOLA")
dbPath = system.file("extdata", "hg19", package="LOLA")
regionDB = loadRegionDB(dbPath)
data("sample_input", package="LOLA") # load userSets
data("sample_universe", package="LOLA") # load userUniverse
locResults = runLOLA(userSets, userUniverse, regionDB, cores=1)

Error in setnames(scoreTable, c("Var1", "Var2", "value"), c("userSet", :
Items of 'old' not found in column names: Var1,Var2

Thanks !

@nsheff
Copy link
Owner

nsheff commented May 30, 2017

This has to do with a version conflict in data.table and reshape -- can you try:

detach("package:reshape”)

Or try loading the latest version of LOLA from GitHub?

@dingailuma
Copy link
Author

Thank you ! I tried detach data.table and reshape both, and it works !

@nsheff
Copy link
Owner

nsheff commented May 31, 2017

I think it has to do with the order in which you load them... it should be fixed already in the latest version of LOLA, but I have yet to push this into the bioconductor channels. It will get there soon...

@nsheff nsheff closed this as completed May 31, 2017
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

2 participants