-
Notifications
You must be signed in to change notification settings - Fork 14
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
Enable multicova #347
base: development
Are you sure you want to change the base?
Enable multicova #347
Conversation
# plotly doesnt allow to assign color to certain group | ||
# update instead the figure in form of a dict | ||
# color_dict with group_variable/legendgroup as key, and corresponding color as value | ||
# TODO revisit this comment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://plotly.com/python-api-reference/generated/generated/plotly.graph_objects.Figure.update_traces.html + selector to set individual color or something like:
plot.for_each_trace(lambda t: t.update(marker_color=color_dict.get(t.legendgroup))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Is the analysis actually available in the UI?
# Conflicts: # alphastats/DataSet_Statistics.py # alphastats/statistics/MultiCovaAnalysis.py # alphastats/statistics/StatisticUtils.py
re-active multicova backend, which was disabled here https://github.com/MannLabs/alphapeptstats/pull/329/files