-
Notifications
You must be signed in to change notification settings - Fork 36
Plotly
Mauro Masiero edited this page Feb 22, 2023
·
6 revisions
Available at pgx.stackedBarplot
.
Documentation coming soon.
Available at pgx.boxplot.PLOTLY
.
Documentation coming soon.
Available at pgx.barplot.PLOTLY
.
Documentation coming soon.
Plotly worked well with large datasets, both across tabs, multiple plots, and ~1M points. To reduce rendering time and memory usage, possible solutions:
- plotly marker has max display, which limits number of plots displayed. Needs further investigation on backend algo.
- for plots that do not require all points (eg. volcano): sort the points based on their importance, eg. test statistics and give those points priority. Inform users that this is happening.
- Datashader: currently only available in Python.
Plotly has different options to combine multiple plots. Those can be focused on different aspects of the app interface. Some solutions are here:
- Trellis displays with
subplot()
- Bootstrap grid layout
- CSS flexbox
- examples here: https://plotly-r.com/arranging-views.html#fig:subplot-trellis