Petr wrote: > Re linking "correlation" matrix to protein structure rendering - I have > program that converts my matrices to xyz file and the Jmol rendering is > just fine (I am finalizing the color scheme). > You hinted, that there might be a solution how to transfer the picked > "atoms" in the "correlation matrix rendering" to the protein picture?
Using the JmolStatusListener API you can register a method that will receive mouse click events. When the user clicks on an atom you will receive the atom index. Using the atom index, you can get its x and y coordinates. In your case, these x & y coordinates map to your residue numbers. This should allow you to send the appropriate script to your other Jmol applet. Miguel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users