Computes the number of subjects with QTc > 450, 500 as well as deltaQTc > 30, 60

compute_high_qtc_sub(data, qtc_col, deltaqtc_col, group_col = NULL)

Arguments

data

A data frame containing C-QT analysis dataset

qtc_col

An unquoted column name for containing QTc data

deltaqtc_col

An unquoted column name for containing deltaQTc data

group_col

An optional column name for grouping data

Value

a tibble containing the number of subjects with high QTc values

Examples

data_proc <- preprocess(cqtkit_data_verapamil)

compute_high_qtc_sub(data_proc, QTCF, deltaQTCF)
#> # A tibble: 1 × 6
#>   group n_QTc_gt_450 n_QTc_gt_480 n_QTc_gt_500 n_dQTc_gt_30 n_dQTc_gt_60
#>   <chr>        <int>        <int>        <int>        <int>        <int>
#> 1 Total            0            0            0            0            0