activity_diag: Visual diagnostic for activity data using MAVEn with baseline

Description Usage Arguments Value

Description

Visual diagnostic for activity data using MAVEn with baseline

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
activity_diag(
  maven_raw = "maven_raw",
  metabolism_summary_cycle = "metabolism_summary_cycle",
  activity_summary_cycle = "activity_summary_cycle",
  interval = "",
  outdir = NULL,
  maven_experiment = "",
  out_filename = "ActivityDiagnostic",
  out_filetype = ".png"
)

Arguments

maven_raw

Complete MAVEn dataset including baseline readings.

metabolism_summary_cycle

Dataframe calculated by summarize_metabolism with the "by_cycle" type indicated.

activity_summary_cycle

Dataframe calculated by summarize_activity with the "by_cycle" type indicated.

interval

Time interval for analysis.

outdir

Folder where figure should be stored.

maven_experiment

Experiment name. Applied to both figures and files.

out_filename

Figure name.

out_filetype

Figure file type.

Value

Plot with raw MAVEn data, calculated median metabolism, and animal activity. Coloured boxes represent the calculated activity state based on activity threshold.


dapperstats/MAVEn documentation built on Jan. 22, 2021, 3:39 p.m.