caller_defaults() updated from a YAML file (default inst/config/caller.yaml of the package: one key per
default, named vectors as maps) and then from overrides. Values are coerced to the type of the default
(numeric, logical, character; names kept for named vectors). Empty strings and nulls keep the default
(e.g. tabix: "" = the tabix on the PATH); an empty list ([]) is an empty vector (e.g. allelic_exclude: []). Unknown keys in the file are ignored with a
warning; unknown keys in overrides are added as-is.
Usage
caller_params(file = NULL, overrides = list())Value
named list (the keys of caller_defaults(), plus tumour / normal when the file has those blocks)
Details
Two optional blocks hold the arguments of the two callers: tumour: (tumour-mode options, any
clone_defaults() key) and normal: (arguments of caller_normal() other than the inputs call_scn() sets,
e.g. n_draws, pool_loo). When a block is present the result carries it as $tumour / $normal, filled
up to the full defaults (clone_defaults(), the defaults of caller_normal()); call_scn() passes it to the
caller of its mode (its caller_args take precedence) and records the values used in the result's params,
so the params.yaml of write_scphasedcn() reads back with this function.