sfu-bigdata / range-driver

Acoustic telemetry detection data analysis
https://sfu-bigdata.github.io/range-driver
1 stars 2 forks source link

Grouping/Ungrouping of Detection Rates for Plotting #3

Open jillianderson8 opened 3 years ago

jillianderson8 commented 3 years ago

Currently, our analytics plots each have fixed grouping. For example, the detection rate curves use receiver/transmitter groups. Alternatively, heat-maps combine all detection rates before plotting.

We want to add the option for detection rates to be grouped at varying levels for these analyses. For example, users should be able to combine analysis according to distance (near vs far), power (low vs high), receiver/transmitter groups, etc.

jillianderson8 commented 3 years ago

The 3_grouped_plots branch now contains changes to the report_heatmaps() and report_all_group_plots() functions to perform some plot grouping.

The proposed changes have added two arguments to these functions:

If groups is provided, one plot (or plot group) is displayed for each group. If groups is not provided, but grouping_feature is, then that feature is used to create groups for plotting. If neither groups nor grouping_feature is provided, a single plot (or plot group) is created to represent all detections.