Skip to contents

Plots an ethnogram, representing when detected calls occur through the length of the recording.

Usage

plotEthnogram(
  data_path,
  graph_title = "Call Ethnogram",
  graph_subtitle = "Calls are indicated by a vertical line."
)

Arguments

data_path

The full path to the Excel file exported from DeepSqueak

graph_title

The title for the graph (there is a default title if not specified)

graph_subtitle

The subtitle for the graph (there is a default subtitle if not specified)

Value

A ggplot2 visualization of the ethnogram shown in the viewer window, which can be manually exported.

Examples

if (FALSE) plotEthnogram(
  data_path = "inst/extdata/Example_Mouse_Data.xlsx",
  graph_title = "myTitle", graph_subtitle = "myDescription"
)