Skip to content

compute_potential_hysteresis

Description

Detects the pressence of hysteresis

Usage

compute_potential_hysteresis(
data,
ntime_col,
deltaqtc_col,
conc_col,
group_col
)

Arguments

NameDescription
dataa dataframe of QTc dataset
ntime_colan unquoted column name for nominal timepoints
deltaqtc_colan unquoted column name of dQTC measurements
conc_colan unquoted column name of concentration measurements
group_colan unquoted column name of grouping column - usually DOSEF

Returns

a bool of TRUE if hysteresis detected else FALSE

Examples

data <- preprocess(data)
data <- dplyr::filter(data, DOSE == 120)
compute_potential_hysteresis(
data,
NTLD,
deltaQTCF,
CONC,
DOSEF)
compute_potential_hysteresis.R
[1] FALSE

Criteria for hysteresis

  1. At least three time points that have Δ\DeltaQTc greater than 5 ms
  2. TmaxUmax1 hr\lvert T_{\text{max}} - U_{\text{max}} \rvert \geq 1 \text{ hr}, where TmaxT_{\text{max}} is time of maximal concentration, and UmaxU_{\text{max}} is time of maximal Δ\DeltaQTc