sanshu / contactmapviz Goto Github PK
View Code? Open in Web Editor NEWContact maps visualization
Home Page: https://sanshu.github.io/ContactMapViz/
Contact maps visualization
Home Page: https://sanshu.github.io/ContactMapViz/
Let user provide a function which will be called on click.
Need to add function to switch highlight on specific contact.
Should take 3 or 4 parameters - sequence, residue1, residue2, (switch value?).
Add tooltips showing aligned residues at the cursor position.
Could you share the data.json
or toy data
with the same format in this example?
https://bl.ocks.org/sanshu/1106ceacc42dc99c1b842d954ae32780
Many thanks!
Request from L.J:
E.g. If there are contacts from both structures in the same spot on the map I need residues’ pairs
for both of them. (so total 4 residues)
/but row and column are probably not needed/.
But contact popups are weird now - here is a tricky part:
- if at a given xy position there are contacts from structure 1 and 2
contact “pupup" should show something like CM1 [A25:F56], CM2 [G25:Y57]
(I thinkit works now)but, if there is only one contacts “popup" should show something like
CM1 [A25:F56] and I am not sure if it is like that nowL
Nice visualization.
some ideas:
for full overlap of two maps of different proteins (with different sizes) one has to use alignment (I think Mallika's script does it). Then it is good to show this alignment along map's edges.
(probably only aligned regions can be shown at least in the first version)
you may consider showing residue numbers and types when user points at a contact on a map - this may be easier than showing alignment at the edges and plays +/- similar role. It is better
than showing scale with numbers along the edge since numbering is not continuous if alignment contains gaps.
Ł
at least first CM should be not empty
if both are provided have to have same dimension
Just like axis labels.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.