Comments (3)
Hi Anton, my apologies for the ridiculous delay in answering this question!
The answer (if you still care) is that you shouldn't need to detect if it is "ready". Once you've done new Genoverse({..}), you can move around or zoom immediately, and track data will be loaded for your new region once you do this. You do not have to wait for the tracks to load in the initial region before moving away from it.
If you are creating a browser dynamically, you should just set chr, start and end in the config to be what you want, and then you wouldn't have to worry about moving straight away.
from genoverse.
Hi Simon,
Thanks for your reply. I do still care, although I am working on something else now and don't quite remember all the details.
I do remember, however, that in practice if you do
browser = new Genoverse({start=X, end=Y, chr=Z, etc});
browser.zoomOut();
sometimes it would load the desired location and then zoom out (which is what I want) and sometimes it would zoom out on the default region and then navigate to the new region specified in the config. The scenario depends on how fast the REST API serves up the annotations.
Maybe this isn't the case anymore, but it was at this time: 867c886
Feel free to close this issue for now if you like, but I am going to update it if I run into this problem again.
from genoverse.
Hi Anton,
I cannot currently replicate this with the current code, so I will close it for now.
from genoverse.
Related Issues (20)
- jquery-ui clashes with d3 for mouseup event HOT 3
- Can you make a bundle without jquery and other standard dependencies, available via npm? HOT 6
- How to display highlights? What's the difference between highlights and mouse drag action mode highlights? HOT 2
- In new Genoverse exon-intron structure is not displayed, what's wrong with my parseData? HOT 1
- Convert highlights to histogram HOT 7
- Sequence track dissapears HOT 1
- Track for read coverage 2018
- Track for Coverage 2018 HOT 4
- genoverse leaves some dangling deferreds after browser.destroy() HOT 2
- Is it possible to use pyensembl local database with Genoverse? HOT 1
- How practical HOT 1
- ScatterPlots? HOT 1
- website is broken HOT 1
- How to configure local BED/BAM file as data source? HOT 3
- Does Genoverse browser fit .bb(bigbed) file? HOT 1
- How to load my own genome feature in the Genoverse tracks?
- How to load my own genome feature in the Genoverse tracks?
- How can i load my local genome feature file and perform it in the web? HOT 4
- When performing a location query, the URL makes two requests.
- Vue2 templates HOT 1
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 genoverse.