-
Notifications
You must be signed in to change notification settings - Fork 1
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
Annotate plot_swanson_vector such that Beryl regions are printed on all lower Allen ones #11
Comments
Some other oddity with the plot_swanson_vector. Consider this, I plot for each analysis the 5 top values as text next to the swanson and also use the annotate argument in it. They mainly match, but not always. Say consider the thirs Swanson, which shows SOC instead of GRN (which it should when doing an argsort of the scores and using this as indices for the acronyms strings): |
|
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some regions are not annotated in plot_swanson_vector, in iblatlas/plots.py.
plot_swanson_vector(np.array(['MRN', 'IRN']),np.array([0.5,0.5]), annotate=True)
works nicely, both regions get an acronym printed on top.plot_swanson_vector(np.array(['SCig', 'SCiw']),np.array([0.5,0.5]), annotate=True)
doesn't, although these regions show up when doing plot_swanson_vector(annotate=True).Beryl regions do sometimes show up, for example not in this case:
plot_swanson_vector(np.array(['SCm', 'SCs']),np.array([0.5,0.5]), annotate=True)
It would be nice if for example in the latter case - for hierarchical level Beryl, which most of us use - the SCm and SCs labels are print on top of multiple regions (say 'SCig', 'SCiw' are both part of 'SCm').
The text was updated successfully, but these errors were encountered: