Skip to contents

Core

bin_directory is the one-step function that wraps the entire processing pipeline into a single function call. The other shaping functions are circumstantially usefeul, but bin_directory is usually the starting point for all analyses.

bin_directory()
Read, threshold, and bin all buzzdetect result files in a directory.

Results shaping

Functions to read and manipulate buzzdetect results.

read_results()
Read a single buzzdetect results file.
call_detections()
Call event detections using activation thresholds.
bin()
Bin results by time, summing detections and frames per bin.
read_directory()
Read all buzzdetect result files in a directory (recursively).

Plotting

Utilities for making prettier plots

theme_buzzr()
A ggplot2 theme for aesthetic plotting of buzzdetect results.
commontime()
Coerce all dates to the same day, preserving time of day.
label_hour()
ggplot2 x-axis label formatter for time-of-day plots.
palette
The buzzdetect color palette.

All functions

bin()
Bin results by time, summing detections and frames per bin.
bin_directory()
Read, threshold, and bin all buzzdetect result files in a directory.
call_detections()
Call event detections using activation thresholds.
commontime()
Coerce all dates to the same day, preserving time of day.
evaluate_log()
Summarize a buzzdetect log file
file_start_time()
Extract date time information from a file's name.
frames_expected()
Calculate the expected number of frames in a time bin.
get_ident()
Extract the identifier (ident) from a buzzdetect result file path.
label_hour()
ggplot2 x-axis label formatter for time-of-day plots.
palette
The buzzdetect color palette.
read_directory()
Read all buzzdetect result files in a directory (recursively).
read_results()
Read a single buzzdetect results file.
theme_buzzr()
A ggplot2 theme for aesthetic plotting of buzzdetect results.
time_of_day()
Convert a date-time to a numeric time of day.
trim_directory()
Trim activation columns for all result files in a directory.
trim_results()
Trim activation columns in a results data frame.