Skip to contents

Plots a density graph, grouped by custom labels set in DeepSqueak, collapsed into a single graph.

Usage

plotDensityStackedByCustom(
  data_path,
  graph_title = "Call Distribution Grouped by Custom Category Labels",
  graph_subtitle = "Calls are grouped by custom categories designated in DeepSqueak.",
  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) plotDensityStackedByCustom(
  data_path = "inst/extdata/Example_Mouse_Data.xlsx",
  graph_title = "myTitle", graph_subtitle = "myDescription"
)