run_exp_camostat_amphoB: estimate parameters for the different models in the study

View source: R/camostat_model_run.R

run_exp_camostat_amphoBR Documentation

estimate parameters for the different models in the study

Description

estimate parameters for the different models in the study

Usage

run_exp_camostat_amphoB(
  save_dir,
  strain,
  camostat_vec,
  amphoB_vec,
  Calu3 = FALSE,
  PCR = FALSE,
  mvr = TRUE,
  length_run = 2,
  run_flag = TRUE
)

Arguments

save_dir

string ending in "/": directory to save results in

strain

character vector. names of strains.

camostat_vec

logical vector of length n, where n is the number of conditions. Each value indicates whether camostat was used in the condition.

amphoB_vec

logical vector of length n, where n is the number of conditions. Each value indicates whether amphoB was used in the condition.

Calu3

logical. if TRUE, fit model to Calu3 data, if FALSE, use HAE data

PCR

logical. whether to include PCR data (TRUE) or only plaque data (FALSE)

mvr

logical. If TRUE, use multivariate proposal, if FALSE, use univariate proposal.

length_run

integer. If length == 1, short run (for testing purposes); if length == 2, normal run; if length = 3, extra long run. otherwise, run until convergence

run_flag

logial. if TRUE, run and postprocess; if FALSE, postprocess only

Value

NULL (results saved to file)


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.