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

nblast: Visualizing a specific hit in the 3D plot #15

Open
Erginkayam opened this issue Feb 13, 2018 · 2 comments
Open

nblast: Visualizing a specific hit in the 3D plot #15

Erginkayam opened this issue Feb 13, 2018 · 2 comments

Comments

@Erginkayam
Copy link

After NBLASTing, we currently don't have the option to only visualize a specific hit (e.g. the 8th hit) together with the NBLASTed neuron in the 3D viewer. Currently we can use the "hits=n" argument to narrow it down to the top n neurons, it would be useful to have the option to be able to show only the nth hit instead.

@jefferis
Copy link
Member

This seems like a good idea. The equivalent function in elmr assumes that hits is a vector (e.g. 1:10)

https://github.com/jefferis/elmr/blob/191fe3661816961d957bf0f7cfbf86a3a7e0dba9/R/nblast_fafb.R#L189-L210

Of course you can always fine tune your searches using R – happy to help setup if you want.

@schlegelp
Copy link
Contributor

That's a fairly straight forward addition. And just like @jefferis said: catbot simple turns a hits=5 into an R vector 1:5. Syntax for single hit could be e.g. @catbot nblast #12345 hits=[4] or, for two specific hits @catbot nblast #12345 hits=[3,4]

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

3 participants