Comments (2)
I'm not sure why that would happen...you're suggesting throw away all names all the time? This appears to be only setting names if they aren't set.
it would be helpful if you paste the text of the error...
from lola.
Error:
Error in bmerge(i, x, leftcols, rightcols, roll, rollends, nomatch, mult, :
Incompatible join types: x.dbSet (factor) and i.dbSet (integer). Factor columns must join to factor or character columns.
When loading the LOLA region databases, the regionDB$regionGRL names are NULL by default so the function works. When regionDB$regionGRL has names that are not NULL the function errors. I think the problem comes from trying to merge based on columns of different classes (the merge in line 175): scoreTable = scoreTable[annotationDT]. In the first case (names are NULL), the class of both columns that are merged is integer. In the second case, the class of one column is integer and the other is factor (the regionGRL names).
Example:
dbPath = system.file("extdata", "hg19", package="LOLA")
regionDB = loadRegionDB(dbLocation=dbPath)
data("sample_universe", package="LOLA")
data("sample_input", package="LOLA")
names(regionDB$regionGRL) = paste0("dbGR", seq_along(regionDB$regionGRL))
res = runLOLA(userSets, userUniverse, regionDB, cores=1)
from lola.
Related Issues (20)
- Add in missing cellType/antibody entries for encodeTFBSmm10 HOT 6
- Re-order result columns
- Different results between LOLAweb interactive server and local R package HOT 7
- Inclusion of mm10 JASAPR prediction track into LOLA JASPAR HOT 3
- cistrome_mm10 HOT 2
- runLOLA results table for PEP databases
- PEP file read caching HOT 2
- Can't load an example regionDB. HOT 3
- PEP tag system
- testing for enrichment of significant individual cpgs HOT 2
- question: how to test two region sets for differential enrichment with buildRestrictedUniverse? HOT 2
- Each of the 2 combined objects has sequence levels not in the other: HOT 4
- R package error HOT 4
- LOLA runLOLA-regionDB to use for tissue-specific TFBS
- P4 tool not grouping according to the paper!!
- Error by using extractEnrichmentOverlap function
- Fisher test - two sided hypothesis
- Error when trying to load a regionDB
- Database download from "latest databases" doesnt work - 403 Forbidden Error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lola.