merge_rcurvep_objs: Merge results from multiple rcurvep objects

View source: R/rcurvep_mergeobj.R

merge_rcurvep_objsR Documentation

Merge results from multiple rcurvep objects

Description

Sometimes user may want to try multiple curvep setting and pick the one that can capture the shape (wAUC != 0). The highest absolute wAUC from the chemical-endpoint(-sample_id) pair will be picked.

Usage

merge_rcurvep_objs(...)

Arguments

...

rcurvep objects

Value

an updated rcurvep object with config = NULL

Examples


data(zfishbeh)

# combine default + mask
out1 <- combi_run_rcurvep(zfishbeh, TRSH = 10)
out2 <- combi_run_rcurvep(zfishbeh, TRSH = 10, mask = 1)
m1 <- merge_rcurvep_objs(out1, out2)

# use same set of samples to combine
out1 <- combi_run_rcurvep(zfishbeh, TRSH = 10, n_samples = 2, seed = 300)
out2 <- combi_run_rcurvep(zfishbeh, TRSH = 10, mask = 1, n_samples = 2, seed = 300)
m1 <- merge_rcurvep_objs(out1, out2)


Rcurvep documentation built on Aug. 25, 2022, 5:09 p.m.