summary.rcurvep_out: Summarize the activity output after curvep based on simulated...

Description Usage Arguments Value Examples

View source: R/curvep_out_extraction.R

Description

The summarized values include hit_confidence, confidence interval of the activity values, and the median response per concentration.

Usage

1
2
3
## S3 method for class 'rcurvep_out'
summary(a_out, col_names = c("POD", "EC50", "Emax",
  "wAUC", "wAUC_prev"), modifier = NULL, conf_level = 0.95)

Arguments

a_out

a tbl from the 'withdraw()'(type != "summary") or 'run_curvep_batch(simplify_output = TRUE)'

col_names

default activity values include POD, EC50, Emax, wAUC, wAUC_prev

modifier

a chr to match the curvep comments column to batch-modify the activity, including hit, potency related values, and adjusted responses (active -> inactive)

conf_level

default value = 0.95 (95%)

Value

a tbl with summary data: 1) the hit confidence, 2) the median (med), 95% confidence interval (ciu, cil) of activity values, 3) the median response per concentration (input/output) 3) is only calculated when the input tbl have resps, concs, and resps_in columns

Examples

1
2
3
4
5
6
7
8
9
data(zfishdev)
x <- zfishdev %>% split(.$endpoint)
acts <- run_curvep_batch(x[[1]],
                      directionality = 1,
                      n_sample = 10,
                      threshold = 15,
                      other_paras = list(CARR = 20, TrustHi = TRUE), simplify_output = TRUE)
# activities
acts_sum <- summary(acts, conf_level = 0.9)

moggces/Rcurvep documentation built on Feb. 4, 2019, 12:32 p.m.