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

Good Package but not enough documentation #3

Open
therimalaya opened this issue Dec 18, 2017 · 2 comments
Open

Good Package but not enough documentation #3

therimalaya opened this issue Dec 18, 2017 · 2 comments

Comments

@therimalaya
Copy link

I am building a shiny app where I am using this msaR. The documentation referes directly to msa library of javascript where I can see what are the possible options but the documentation in this side is not enough. For example, I am trying to add a selection on the output but don't know how to pass the option to javascript from given R interface. Although there are few indication of passing options like config and zoomer but all the example are a key-value based which are easy to input. It is rather difficult to input selection with some search criteria or start or end of column.

An updated document will certainly help a lot.

@zachcp
Copy link
Owner

zachcp commented Dec 18, 2017

I agree a bit of documentation could help but there is not much more to document that is not on the website. This is a one-way app right now - you can display MSAs in the browser and you have some display options. You can access all of the features of the underlying JS library or you can limit/change them.

To work with Shiny interactively you would need more JS interop than there currently is. You would need to specify some JS event and send it back to R. Right now this does not happen, althouhg it is certainly possible. Do you have anything particular in mind? I think mouse-selection of sequences could be nice.

What does this sentence mean: "input selection with some search criteria or start or end of column"? What behavior do you want to achieve? Select input before it is displayed? Afterwards?

There is lots of room for improvement but I need a bit more info to be helpful.

zach cp

@therimalaya
Copy link
Author

Thank you zachcp for the reply. I am thinking If I have a start position and end position and I want to highlight the part of MSA sequence using these position. All these things I should be able to do programatically. There is already some option using the toolbar in plot and option in JavaScript but I am not sure how a R user can send such option and values in option from R.

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