Skip to contents

Plots a density graph, grouped by frequency group collapsed into a single graph.

Usage

plotDensityStackedByFrequency(
  data_path,
  graph_title = "Call Distribution Grouped by Frequency Range (kHz)",
  graph_subtitle = "Calls are grouped by frequency ranges of 10 kHz.",
  chosen_group = c()
)

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)

chosen_group

Specifying a particular group to be highlighted in the graph

Value

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

Examples

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