R/compose-parametric.R
compose_parametric.Rd
Non-default parameters customizing the computational flow which can affect the output of the calculations (domain definition).
compose_parametric_v1.4.2(df = NULL)
compose_parametric(df = NULL)
Data frame. Variables include param
(parameter names),
value
(value of the parameters), and step
(step number for each parameter).
A list of class bco.domain
df_parametric <- data.frame(
"param" = c(
"seed", "minimum_match_len",
"divergence_threshold_percent",
"minimum_coverage", "freq_cutoff"
),
"value" = c("14", "66", "0.30", "15", "0.10"),
"step" = c(1, 1, 1, 2, 2)
)
compose_parametric(df_parametric) %>% convert_json()
#> [
#> {
#> "param": "seed",
#> "value": "14",
#> "step": "1"
#> },
#> {
#> "param": "minimum_match_len",
#> "value": "66",
#> "step": "1"
#> },
#> {
#> "param": "divergence_threshold_percent",
#> "value": "0.30",
#> "step": "1"
#> },
#> {
#> "param": "minimum_coverage",
#> "value": "15",
#> "step": "2"
#> },
#> {
#> "param": "freq_cutoff",
#> "value": "0.10",
#> "step": "2"
#> }
#> ]